Skip to content

Commit

Permalink
Merge pull request #474 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 8aac3a0 + 190761c commit 8bd7d0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 2 additions & 2 deletions suite_setup_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) 2020-2022 Doc.ai and/or its affiliates.
//
// Copyright (c) 2020-2022 Cisco and/or its affiliates.
// Copyright (c) 2020-2023 Cisco and/or its affiliates.
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down Expand Up @@ -67,7 +67,7 @@ func (f *TestSuite) SetupSuite() {
f.Require().NoError(err)
f.spireErrCh = spire.Start(
spire.WithContext(f.ctx),
spire.WithEntry("spiffe://example.org/app", "unix:path:/bin/app"),
spire.WithEntry("spiffe://example.org/app", "unix:path:/usr/bin/app"),
spire.WithEntry(fmt.Sprintf("spiffe://example.org/%s", filepath.Base(executable)),
fmt.Sprintf("unix:path:%s", executable),
),
Expand Down

0 comments on commit 8bd7d0a

Please sign in to comment.