Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Commit

Permalink
Alpine Linux 3.16 (#168)
Browse files Browse the repository at this point in the history
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max and crazy-max authored Jun 12, 2022
1 parent cdd2cea commit d3c5b0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

ARG GO_VERSION="1.18"
ARG GORELEASER_XX_VERSION="1.2.5"
ARG ALPINE_VERSION="3.16"

FROM --platform=$BUILDPLATFORM crazymax/goreleaser-xx:${GORELEASER_XX_VERSION} AS goreleaser-xx
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine AS base
Expand Down Expand Up @@ -50,7 +51,7 @@ COPY --from=build /out/*.zip /
FROM scratch AS binary
COPY --from=build /usr/local/bin/artifactory-cleanup* /

FROM alpine:3.15
FROM alpine:${ALPINE_VERSION}
RUN apk --update --no-cache add ca-certificates openssl
COPY --from=build /usr/local/bin/artifactory-cleanup /usr/local/bin/artifactory-cleanup
ENTRYPOINT [ "artifactory-cleanup" ]

0 comments on commit d3c5b0a

Please sign in to comment.