diff --git a/Dockerfile b/Dockerfile index f10f1cd..0a0350b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ############################################################################### # BEGIN build-stage # Compile the binary -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22.4@sha256:a1dc4081faf597ac3401677edc31d9fcf1eada1884791033b93d35fa7351791d AS build-stage +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22.4@sha256:a0679accac8685cc5389bd2298e045e570100940e6bdcca666a8ca7b32a1276c AS build-stage ARG BUILDPLATFORM ARG TARGETARCH @@ -22,7 +22,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH="${TARGETARCH}" go build -ldflags="-w -s" -o ############################################################################### # BEGIN test-stage # Run the tests in the container -FROM docker.io/library/golang:1.22.4@sha256:a1dc4081faf597ac3401677edc31d9fcf1eada1884791033b93d35fa7351791d AS test-stage +FROM docker.io/library/golang:1.22.4@sha256:a0679accac8685cc5389bd2298e045e570100940e6bdcca666a8ca7b32a1276c AS test-stage WORKDIR /app