From 6278d55b4179ffcb4a20808c3852fbcc5ef221aa Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 12 Jan 2023 11:22:34 +0100 Subject: [PATCH] fix: add git to containers to support provenance (#170) --- docker/Dockerfile.amd64 | 1 + docker/Dockerfile.arm64 | 1 + 2 files changed, 2 insertions(+) diff --git a/docker/Dockerfile.amd64 b/docker/Dockerfile.amd64 index afe663b..c3e21f0 100644 --- a/docker/Dockerfile.amd64 +++ b/docker/Dockerfile.amd64 @@ -15,6 +15,7 @@ ENV BUILDX_VERSION="${BUILDX_VERSION:-v0.10.0}" ENV DOCKER_HOST=unix:///var/run/docker.sock RUN apk --update add --virtual .build-deps curl && \ + apk --update add --no-cache git && \ mkdir -p /usr/lib/docker/cli-plugins/ && \ 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" && \ chmod 755 /usr/lib/docker/cli-plugins/docker-buildx && \ diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 46f841f..911a547 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -15,6 +15,7 @@ ENV BUILDX_VERSION="${BUILDX_VERSION:-v0.10.0}" ENV DOCKER_HOST=unix:///var/run/docker.sock RUN apk --update add --virtual .build-deps curl && \ + apk --update add --no-cache git && \ mkdir -p /usr/lib/docker/cli-plugins/ && \ 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" && \ chmod 755 /usr/lib/docker/cli-plugins/docker-buildx && \