From fa21a27e6084c468380bf02df374d5fd629722c6 Mon Sep 17 00:00:00 2001 From: NikitaSkrynnik Date: Fri, 17 Nov 2023 12:25:31 +0700 Subject: [PATCH 1/2] Update images in Dockerfile to fix CVEs Signed-off-by: NikitaSkrynnik --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ad21663..4e1edfa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 From b5b23772d99f7d5be6f0f14f0238a50fdcc28fad Mon Sep 17 00:00:00 2001 From: NikitaSkrynnik Date: Fri, 17 Nov 2023 18:31:00 +0700 Subject: [PATCH 2/2] fix tests Signed-off-by: NikitaSkrynnik --- suite_setup_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite_setup_test.go b/suite_setup_test.go index 86ff3af..fb099dc 100644 --- a/suite_setup_test.go +++ b/suite_setup_test.go @@ -196,7 +196,7 @@ func runSpire(ctx context.Context) <-chan error { } spireErrCh := spire.Start( spire.WithContext(ctx), - spire.WithEntry("spiffe://example.org/nse-icmp-responder", "unix:path:/bin/nse-icmp-responder"), + spire.WithEntry("spiffe://example.org/nse-icmp-responder", "unix:path:/usr/bin/nse-icmp-responder"), spire.WithEntry(fmt.Sprintf("spiffe://example.org/%s", filepath.Base(executable)), fmt.Sprintf("unix:path:%s", executable), ),