From af967b585db2b0b41726c273cee76710e0ccff94 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Tue, 9 Jul 2024 12:05:06 +0200 Subject: [PATCH 1/2] chore(deps): update alpine image to 3.20.1 Signed-off-by: Szilard Parrag --- Dockerfile.alpine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 36b5f13..d62cf82 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -19,7 +19,7 @@ RUN CGO_ENABLED=0 GO111MODULE=on go build -a -o runner main.go # Use distroless as minimal base image to package the runner binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -FROM alpine:latest +FROM alpine:3.20.1@sha256:b89d9c93e9ed3597455c90a0b88a8bbb5cb7188438f70953fede212a0c4394e0 RUN apk add socat WORKDIR / COPY --from=builder /workspace/runner . From 86462ec38e3a4b8d9e5cf581edb2b6bf534038a1 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Tue, 9 Jul 2024 12:06:56 +0200 Subject: [PATCH 2/2] chore(deps): update golang image to 1.22 Signed-off-by: Szilard Parrag --- Dockerfile.alpine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index d62cf82..9cb5a60 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,5 +1,5 @@ # Build the runner binary -FROM golang:1.21 as builder +FROM golang:1.22 as builder WORKDIR /workspace # Copy the Go Modules manifests