From 80fb37371f565ef73b94669308c5fc934e9ce3a2 Mon Sep 17 00:00:00 2001 From: Kharec Date: Sun, 23 Nov 2025 10:44:28 +0100 Subject: [PATCH] update: fix go version and update alpine to 3.22 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49d2f91..058f291 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.25.3 +ARG GO_VERSION=1.25.4 # Building the binary using a golang alpine image FROM golang:${GO_VERSION}-alpine AS go-builder @@ -11,7 +11,7 @@ ARG TARGETARCH=amd64 RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -ldflags="-s -w" -o /out/goyco ./cmd/goyco # building the application image -FROM alpine:3.21 +FROM alpine:3.22 RUN addgroup -S goyco && adduser -S -G goyco goyco \ && apk add --no-cache ca-certificates tzdata WORKDIR /app