Skip to content

Commit

Permalink
Upgrade docker & pack
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed May 6, 2024
1 parent 26ebc44 commit 8a38bdc
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
Expand Up @@ -2,14 +2,14 @@ FROM golang:1.19-alpine as builder
RUN apk add --no-cache curl
RUN set -ex && \
cd /tmp && \
curl -sLO https://github.com/buildpacks/pack/releases/download/v0.28.0/pack-v0.28.0-linux.tgz && \
tar xvzf pack-v0.28.0-linux.tgz
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

WORKDIR /go/src/github.com/apppackio/codebuild-image/builder
COPY ./builder .
RUN go build -o /go/bin/apppack-builder main.go

FROM docker:23-dind
FROM docker:26-dind
COPY --from=builder /tmp/pack /usr/local/bin/pack
RUN apk add --no-cache git
COPY --from=builder /go/bin/apppack-builder /usr/local/bin/apppack-builder

0 comments on commit 8a38bdc

Please sign in to comment.