Skip to content

Commit 8992e9f

Browse files
committed
Revert to pack that supports legacy Heroku buildpack
1 parent ed05367 commit 8992e9f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
FROM golang:1.22-alpine as builder
22
RUN apk add --no-cache curl
3+
# last pack version that supports heroku/buildpacks:20 builder
4+
ENV PACK_VER=0.31.0
35
RUN set -ex && \
46
cd /tmp && \
5-
curl -sLO https://github.com/buildpacks/pack/releases/download/v0.33.2/pack-v0.33.2-linux.tgz && \
6-
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"
79

810
WORKDIR /go/src/github.com/apppackio/codebuild-image/builder
911
COPY ./builder .

0 commit comments

Comments
 (0)