Skip to content

Commit

Permalink
chore: add crane to build container
Browse files Browse the repository at this point in the history
Add `crane` to build container.

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo committed Nov 23, 2023
1 parent 0f808a5 commit 95301d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ FROM alpine:3.18.4

# https://github.com/twistedpair/google-cloud-sdk/ is a mirror that replicates the gcloud sdk versions
# renovate: datasource=github-tags depName=twistedpair/google-cloud-sdk
ARG CLOUD_SDK_VERSION=454.0.0
ARG CLOUD_SDK_VERSION=455.0.0
# renovate: datasource=github-releases depName=docker/buildx
ARG BUILDX_VERSION=v0.11.2
ARG BUILDX_VERSION=v0.12.0

# janky janky janky
ENV PATH /google-cloud-sdk/bin:$PATH
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.actions-runner-ubuntu-22.04
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM summerwind/actions-runner-dind:ubuntu-22.04
# renovate: datasource=github-releases depName=google/go-containerregistry
ARG CRANE_VERSION=v0.16.1
USER root
RUN apt update && \
apt upgrade -y && \
Expand All @@ -17,4 +19,5 @@ RUN apt update && \
docker.io \
diffoscope \
gh
RUN curl -SL https://github.com/google/go-containerregistry/releases/download/${CRANE_VERSION}/go-containerregistry_Linux_x86_64.tar.gz | tar xzf - -C /usr/local/bin/ crane
USER runner

0 comments on commit 95301d5

Please sign in to comment.