Skip to content

Commit

Permalink
Add Kaniko
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeriHermans committed Jul 16, 2024
1 parent 13e1477 commit 62f3d3c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
FROM gcr.io/kaniko-project/executor AS kaniko

FROM ghcr.io/actions/actions-runner:latest AS runner

# Add Kaniko to the runner by default
COPY --from=kaniko /kaniko/executor /bin/kaniko
COPY --from=kaniko /kaniko/docker-credential-gcr /bin/docker-credential-gcr
COPY --from=kaniko /kaniko/docker-credential-ecr-login /bin/docker-credential-ecr-login
COPY --from=kaniko /kaniko/docker-credential-acr-env /bin/docker-credential-acr-env

RUN sudo apt update -y && \
sudo apt install -y zip jq git gettext-base wget curl && \
curl -sSLf "$(curl -sSLf https://api.github.com/repos/tomwright/dasel/releases/latest | grep browser_download_url | grep linux_amd64 | grep -v .gz | cut -d\" -f 4)" -L -o dasel && chmod +x dasel && \
Expand Down

0 comments on commit 62f3d3c

Please sign in to comment.