Skip to content

Commit

Permalink
Merge pull request #330 from atkrad/upgrade-base-image-version
Browse files Browse the repository at this point in the history
Upgrade Dockerfile base image
  • Loading branch information
atkrad committed Sep 12, 2024
2 parents 9fb7fb3 + a0cd2a6 commit d8a5d99
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,7 +1,7 @@
# syntax=docker/dockerfile:1.5.1
FROM --platform=$BUILDPLATFORM tonistiigi/xx:1.2.1 AS xx

FROM --platform=$BUILDPLATFORM golang:1.21.6-alpine3.18 AS base
FROM --platform=$BUILDPLATFORM golang:1.22-alpine3.20 AS base
ENV GO111MODULE=auto
ENV CGO_ENABLED=0

Expand Down Expand Up @@ -40,7 +40,7 @@ RUN --mount=from=binary,target=/build \
FROM scratch AS artifact
COPY --from=releaser /out /

FROM alpine:3.18.5
FROM alpine:3.20
RUN apk add --update --no-cache ca-certificates tzdata

COPY --from=binary /wait4x /usr/bin/wait4x
Expand Down

0 comments on commit d8a5d99

Please sign in to comment.