From da8571c71865f0226478fb60377eca7e6354ae04 Mon Sep 17 00:00:00 2001 From: pat-s Date: Wed, 8 Nov 2023 02:42:05 +0000 Subject: [PATCH] Add `git` to image (#109) Current runs of the plugin output the following ``` WARNING: buildx: git was not found in the system. Current commit information was not captured by the build ``` adding `git` should solve this. Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/109 Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: pat-s Co-committed-by: pat-s --- Dockerfile.multiarch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.multiarch b/Dockerfile.multiarch index 0e61b8b..2697d49 100644 --- a/Dockerfile.multiarch +++ b/Dockerfile.multiarch @@ -15,7 +15,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \ FROM docker/buildx-bin:${BUILDX_VERSION} as buildx-bin FROM docker:${DOCKER_VERSION} -RUN apk --update --no-cache add coredns +RUN apk --update --no-cache add coredns git COPY --from=build /src/Corefile /etc/coredns/Corefile COPY --from=buildx-bin /buildx /usr/libexec/docker/cli-plugins/docker-buildx