Skip to content

Commit

Permalink
Don't use alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed May 6, 2024
1 parent 26ebc44 commit 2cf180e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 && \
Expand All @@ -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

0 comments on commit 2cf180e

Please sign in to comment.