Skip to content

Commit

Permalink
Add buildctl
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Dec 8, 2023
1 parent 8b87a8c commit e0d3164
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ RUN apt-get update && apt-get install -y \
COPY install/get-kubectl /tmp
RUN /tmp/get-kubectl

# buildctl
COPY install/get-kubectl /tmp
RUN /tmp/get-buildctl

# kustomize
COPY install/get-kustomize /tmp
RUN /tmp/get-kustomize /usr/local/bin
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
A container image with useful tools to automate deployments.

- [bash](https://linux.die.net/man/1/bash)
- [moby buildctl](https://github.com/moby/buildkit)
- [python3](https://www.python.org/doc/), >=3.8, when bash is not enough
- [curl](https://linux.die.net/man/1/curl)
- [envsubst](https://linux.die.net/man/1/envsubst)
Expand Down
3 changes: 3 additions & 0 deletions install/get-buildctl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
cd /usr/local
curl -sSL https://github.com/moby/buildkit/releases/download/v0.12.4/buildkit-v0.12.4.linux-amd64.tar.gz | tar zxf - -- bin/buildctl

0 comments on commit e0d3164

Please sign in to comment.