From f74416ba14a5ca844fad0f241993de3e167a3cd7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 10 Jan 2024 00:43:45 +0000 Subject: [PATCH] Pin dependencies --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1b5c31e..4cd1b39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21-alpine as build +FROM golang:1.21-alpine@sha256:75f455b18eccff62286ae7dceb2d824816bf6bfd70c92959769f7282167b2926 as build COPY . /code WORKDIR /code ENV CGO_ENABLED=0 @@ -6,7 +6,7 @@ ENV GOPROXY=https://proxy.golang.org RUN go mod download && \ go build -o app -FROM alpine:3.18 +FROM alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 RUN apk add --no-cache tzdata ca-certificates COPY --from=build /code/app /app/app WORKDIR /app