Skip to content

Commit

Permalink
Upgrade build image
Browse files Browse the repository at this point in the history
  • Loading branch information
rwynn committed Dec 7, 2024
1 parent 6ccf33a commit d447fd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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=. \
Expand All @@ -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

0 comments on commit d447fd3

Please sign in to comment.