diff --git a/Dockerfile b/Dockerfile index eb5af3b..306eced 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 diff --git a/main_test.go b/main_test.go index 3a18b10..b624595 100644 --- a/main_test.go +++ b/main_test.go @@ -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"); @@ -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), ),