From 2cf180e1b611c84fa0f9faa9917da68bf6f50b34 Mon Sep 17 00:00:00 2001 From: Peter Baumgartner Date: Mon, 6 May 2024 10:02:39 -0600 Subject: [PATCH] Don't use alpine --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a2931a2..8d51010 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -FROM golang:1.19-alpine as builder -RUN apk add --no-cache curl +FROM golang:1.19 as builder +RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/* RUN set -ex && \ cd /tmp && \ curl -sLO https://github.com/buildpacks/pack/releases/download/v0.28.0/pack-v0.28.0-linux.tgz && \ @@ -11,5 +11,5 @@ RUN go build -o /go/bin/apppack-builder main.go FROM docker:23-dind COPY --from=builder /tmp/pack /usr/local/bin/pack -RUN apk add --no-cache git +RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/* COPY --from=builder /go/bin/apppack-builder /usr/local/bin/apppack-builder