Skip to content

Commit

Permalink
Merge pull request #3 from cloud-gov/update-for-cg
Browse files Browse the repository at this point in the history
update dockerfile
  • Loading branch information
dandersonsw authored Apr 16, 2024
2 parents deead7b + 924112c commit 84b8811
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ RUN go build -o /assets/task ./cmd/task
RUN go build -o /assets/build ./cmd/build

FROM ${base_image} AS task
RUN apt update && apt upgrade -y
RUN apt-get install -y wget runc
RUN wget https://github.com/moby/buildkit/releases/download/v0.13.1/buildkit-v0.13.1.linux-amd64.tar.gz
RUN tar xvf buildkit-v0.13.1.linux-amd64.tar.gz
COPY --from=builder /assets/task /usr/bin/
COPY --from=builder /assets/build /usr/bin/
COPY bin/setup-cgroups /usr/bin/
ENTRYPOINT [ "task" ]
ENTRYPOINT ["task"]

FROM task

0 comments on commit 84b8811

Please sign in to comment.