From d447fd36935b01b15b671834d2ce13c0421c2a58 Mon Sep 17 00:00:00 2001 From: Ryan Wynn Date: Sat, 7 Dec 2024 11:06:50 -0500 Subject: [PATCH] Upgrade build image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 86ba0be..6bbaa49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.20.4-alpine3.17 AS build +FROM --platform=$BUILDPLATFORM golang:1.22.10-alpine3.21 AS build WORKDIR /src ARG TARGETOS TARGETARCH RUN --mount=target=. \ @@ -7,7 +7,7 @@ RUN --mount=target=. \ go mod download; \ GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o /out/monstache . -FROM alpine:3.17 +FROM alpine:3.21 RUN apk --no-cache add ca-certificates ENTRYPOINT ["/bin/monstache"] COPY --from=build /out/monstache /bin