diff --git a/Dockerfile b/Dockerfile index c80cfa6..716b29e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# syntax=docker/dockerfile:1 +# syntax=docker/dockerfile:1@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183 # We use the latest Go 1.x version unless asked to use something else. # The GitHub Actions CI job sets this argument for a consistent Go version. @@ -38,7 +38,7 @@ RUN --mount=target=. \ # Produce the Function image. We use a very lightweight 'distroless' image that # does not include any of the build tools used in previous stages. -FROM gcr.io/distroless/static-debian13 AS image +FROM gcr.io/distroless/static-debian13@sha256:4c2cd1dee442c9a99924a378c7c126fac8fef14771579ef567c3f2bdd7a5122a AS image WORKDIR / COPY --from=build /function /function EXPOSE 9443