diff --git a/.local/Dockerfile b/.local/Dockerfile index ec6c272bb..36f626ccd 100644 --- a/.local/Dockerfile +++ b/.local/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21-alpine@sha256:4f95f6bd37a96bb17ff610ed3bb424fc7d2926e08da4ed2276ed5f279d377852 +FROM golang:1.21-alpine@sha256:eeaab088668869c65a2ee0c2c4df7f8c9920140ede7fba3b777cf5b7e9fdbb69 ENV CGO_ENABLED=0 ENV GOROOT=/usr/local/go diff --git a/docker/Dockerfile b/docker/Dockerfile index 97c193d43..b04609821 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -14,7 +14,7 @@ ARG BASEIMAGE=registry.k8s.io/build-image/debian-base:bookworm-v1.0.0 -FROM golang:1.21@sha256:3ce8313c3513515040870c55e0c041a2b94f3576a58cfd3948633604214aa811 as builder +FROM golang:1.21@sha256:337543447173c2238c78d4851456760dcc57c1dfa8c3bcd94cbee8b0f7b32ad0 as builder WORKDIR /go/src/sigs.k8s.io/secrets-store-csi-driver ADD . . ARG TARGETARCH diff --git a/docker/windows.Dockerfile b/docker/windows.Dockerfile index 7eec0c376..234f5c9d0 100644 --- a/docker/windows.Dockerfile +++ b/docker/windows.Dockerfile @@ -17,7 +17,7 @@ ARG BASEIMAGE_CORE=gcr.io/k8s-staging-e2e-test-images/windows-servercore-cache:1 FROM --platform=linux/amd64 ${BASEIMAGE_CORE} as core -FROM --platform=$BUILDPLATFORM golang:1.20 as builder +FROM --platform=$BUILDPLATFORM golang:1.21@sha256:337543447173c2238c78d4851456760dcc57c1dfa8c3bcd94cbee8b0f7b32ad0 as builder WORKDIR /go/src/sigs.k8s.io/secrets-store-csi-driver ADD . . ARG TARGETARCH diff --git a/test/e2eprovider/Dockerfile b/test/e2eprovider/Dockerfile index 9434396ee..da4d26aab 100644 --- a/test/e2eprovider/Dockerfile +++ b/test/e2eprovider/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.20@sha256:31a8f92b17829b3ccddf0add184f18203acfd79ccc1bcb5c43803ab1c4836cca as builder +FROM golang:1.21@sha256:337543447173c2238c78d4851456760dcc57c1dfa8c3bcd94cbee8b0f7b32ad0 as builder WORKDIR /go/src/sigs.k8s.io/secrets-store-csi-driver ADD . . RUN make build-e2e-provider