diff --git a/docker/Dockerfile.amd64 b/docker/Dockerfile.amd64 index aff3d62..89ca7b5 100644 --- a/docker/Dockerfile.amd64 +++ b/docker/Dockerfile.amd64 @@ -7,6 +7,10 @@ LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-git-acti LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-git-action" LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-git-action" +RUN apk --update add --no-cache git && \ + rm -rf /var/cache/apk/* && \ + rm -rf /tmp/* + ADD dist/drone-git-action /bin/ ENTRYPOINT ["/bin/drone-git-action"] diff --git a/docker/Dockerfile.arm b/docker/Dockerfile.arm index a3511fe..315d7a7 100644 --- a/docker/Dockerfile.arm +++ b/docker/Dockerfile.arm @@ -7,6 +7,10 @@ LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-git-acti LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-git-action" LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-git-action" +RUN apk --update add --no-cache git && \ + rm -rf /var/cache/apk/* && \ + rm -rf /tmp/* + ADD dist/drone-git-action /bin/ ENTRYPOINT ["/bin/drone-git-action"] diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index b6bfb0e..5e996d6 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -7,6 +7,10 @@ LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-git-acti LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-git-action" LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-git-action" +RUN apk --update add --no-cache git && \ + rm -rf /var/cache/apk/* && \ + rm -rf /tmp/* + ADD dist/drone-git-action /bin/ ENTRYPOINT ["/bin/drone-git-action"]