From d1a7cbf6b2150697d7f4c516ce032ad8a6158111 Mon Sep 17 00:00:00 2001 From: Fredrik Skogman Date: Thu, 5 Mar 2026 10:40:51 +0100 Subject: [PATCH] Updated the `FROM` lines in the docker file. This should make it easier for Dependabot to update them to the correct version. --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1a59020..8910700 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ - # 1.25.7-alpine3.23 -FROM golang@sha256:f6751d823c26342f9506c03797d2527668d095b0a15f1862cddb4d927a7a4ced AS builder +FROM golang:1.25.7-alpine3.23@sha256:f6751d823c26342f9506c03797d2527668d095b0a15f1862cddb4d927a7a4ced AS builder WORKDIR /app COPY go.mod go.sum ./ @@ -7,8 +6,7 @@ RUN go mod download COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -o deployment-tracker cmd/deployment-tracker/main.go -# v3.23 -FROM alpine@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375 +FROM alpine:3.23@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375 RUN apk --no-cache add ca-certificates COPY --from=builder /app/deployment-tracker /deployment-tracker ENTRYPOINT ["/deployment-tracker"]