From cc59256d216df8bd81e394523f4c19fce186fc1f Mon Sep 17 00:00:00 2001 From: Nathan <148575555+nathan-artie@users.noreply.github.com> Date: Fri, 28 Jun 2024 11:35:30 -0700 Subject: [PATCH] Upgrade Alpine image to 3.20 (#782) --- Dockerfile | 14 -------------- goreleaser.dockerfile | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index c1f03a666..000000000 --- a/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -FROM --platform=linux/amd64 golang:1.22-alpine AS builder - -WORKDIR /app - -RUN apk -U add ca-certificates -RUN apk update && apk upgrade && apk add pkgconf git bash build-base sudo - -COPY . . - -RUN go build -o transfer . - -FROM --platform=linux/amd64 alpine:3.19 AS runner - -COPY --from=builder /app/transfer / diff --git a/goreleaser.dockerfile b/goreleaser.dockerfile index e1011c0e9..1780f627e 100644 --- a/goreleaser.dockerfile +++ b/goreleaser.dockerfile @@ -1,2 +1,2 @@ -FROM --platform=linux/amd64 alpine:3.16 +FROM --platform=linux/amd64 alpine:3.20 COPY transfer /transfer