Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit 6278d55

Browse files
authored
fix: add git to containers to support provenance (#170)
1 parent 59df274 commit 6278d55

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docker/Dockerfile.amd64

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ ENV BUILDX_VERSION="${BUILDX_VERSION:-v0.10.0}"
1515
ENV DOCKER_HOST=unix:///var/run/docker.sock
1616

1717
RUN apk --update add --virtual .build-deps curl && \
18+
apk --update add --no-cache git && \
1819
mkdir -p /usr/lib/docker/cli-plugins/ && \
1920
curl -SsL -o /usr/lib/docker/cli-plugins/docker-buildx "https://github.com/docker/buildx/releases/download/v${BUILDX_VERSION##v}/buildx-v${BUILDX_VERSION##v}.linux-amd64" && \
2021
chmod 755 /usr/lib/docker/cli-plugins/docker-buildx && \

docker/Dockerfile.arm64

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ ENV BUILDX_VERSION="${BUILDX_VERSION:-v0.10.0}"
1515
ENV DOCKER_HOST=unix:///var/run/docker.sock
1616

1717
RUN apk --update add --virtual .build-deps curl && \
18+
apk --update add --no-cache git && \
1819
mkdir -p /usr/lib/docker/cli-plugins/ && \
1920
curl -SsL -o /usr/lib/docker/cli-plugins/docker-buildx "https://github.com/docker/buildx/releases/download/v${BUILDX_VERSION##v}/buildx-v${BUILDX_VERSION##v}.linux-arm64" && \
2021
chmod 755 /usr/lib/docker/cli-plugins/docker-buildx && \

0 commit comments

Comments
 (0)