Skip to content

Commit

Permalink
Merge pull request #457 from NikitaSkrynnik/update-dockerfile
Browse files Browse the repository at this point in the history
Update images in Dockerfile to fix CVEs
  • Loading branch information
denis-tingaikin authored Nov 17, 2023
2 parents 39ccf38 + 6e8f597 commit 0053920
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20.5-buster as go
FROM golang:1.20.11 as go
ENV GO111MODULE=on
ENV CGO_ENABLED=0
ENV GOBIN=/bin
Expand Down
4 changes: 3 additions & 1 deletion main_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright (c) 2020-2022 Doc.ai and/or its affiliates.
//
// Copyright (c) 2023 Cisco and/or its affiliates.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -68,7 +70,7 @@ func (t *NetworkServiceManagerProxySuite) SetupSuite() {
require.NoError(t.T(), err)
t.spireErrCh = spire.Start(
spire.WithContext(t.ctx),
spire.WithEntry("spiffe://example.org/nsmgr-proxy", "unix:path:/bin/nsmgr-proxy"),
spire.WithEntry("spiffe://example.org/nsmgr-proxy", "unix:path:/usr/bin/nsmgr-proxy"),
spire.WithEntry(fmt.Sprintf("spiffe://example.org/%s", filepath.Base(executable)),
fmt.Sprintf("unix:path:%s", executable),
),
Expand Down

0 comments on commit 0053920

Please sign in to comment.