diff --git a/Dockerfile b/Dockerfile index 3abe617b..7fb32ac0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM --platform=$BUILDPLATFORM public.ecr.aws/docker/library/golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM public.ecr.aws/docker/library/golang:1.27@sha256:e0174e51e81218523251d85d248a90d24c3d5e81543b4f07a5d66229397db190 AS builder RUN go env -w GOCACHE=/gocache GOMODCACHE=/gomodcache ARG GOPROXY # Dependencies not in builder image: yq and go-licenses @@ -33,7 +33,7 @@ RUN --mount=type=cache,target=/gomodcache --mount=type=cache,target=/gocache cd export GOFLAGS=-mod=mod && \ go-licenses save $(go list ./...) --save_path /app/licenses/ -FROM public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base:latest-al23@sha256:2a6bd21e213302bf846abcae8767c7fff15277ec6f78efc72c551812c2a64618 AS linux-al2023 +FROM public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base:latest-al23@sha256:c8a0394d8ad6d7d88bd9cd3e55d7c49d1a7f40758b5d088d23f24ccbf2f9cdb8 AS linux-al2023 COPY --from=builder /app/bin/$ENTRYPOINT /$ENTRYPOINT COPY --from=builder /app/licenses/ /licenses/ ENTRYPOINT ["/$ENTRYPOINT"]