Skip to content

Commit

Permalink
Revert to pack that supports legacy Heroku buildpack
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed May 6, 2024
1 parent ed05367 commit 8992e9f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM golang:1.22-alpine as builder
RUN apk add --no-cache curl
# last pack version that supports heroku/buildpacks:20 builder
ENV PACK_VER=0.31.0
RUN set -ex && \
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
curl -sLO "https://github.com/buildpacks/pack/releases/download/v$PACK_VER/pack-v$PACK_VER-linux.tgz" && \
tar xvzf "pack-v$PACK_VER-linux.tgz"

WORKDIR /go/src/github.com/apppackio/codebuild-image/builder
COPY ./builder .
Expand Down

0 comments on commit 8992e9f

Please sign in to comment.