We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed05367 commit 8992e9fCopy full SHA for 8992e9f
Dockerfile
@@ -1,9 +1,11 @@
1
FROM golang:1.22-alpine as builder
2
RUN apk add --no-cache curl
3
+# last pack version that supports heroku/buildpacks:20 builder
4
+ENV PACK_VER=0.31.0
5
RUN set -ex && \
6
cd /tmp && \
- curl -sLO https://github.com/buildpacks/pack/releases/download/v0.33.2/pack-v0.33.2-linux.tgz && \
- tar xvzf pack-v0.33.2-linux.tgz
7
+ curl -sLO "https://github.com/buildpacks/pack/releases/download/v$PACK_VER/pack-v$PACK_VER-linux.tgz" && \
8
+ tar xvzf "pack-v$PACK_VER-linux.tgz"
9
10
WORKDIR /go/src/github.com/apppackio/codebuild-image/builder
11
COPY ./builder .
0 commit comments