From d857931036123f0e3298768ba1811eea98b4f5ee Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 3 Aug 2024 23:25:58 +0200 Subject: [PATCH] Move to Alpine 3.20 --- docker/Dockerfile | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 41a6689..ae70723 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.16 +FROM alpine:3.20 # ARG RELEASE_VERSION=2 @@ -6,18 +6,33 @@ FROM alpine:3.16 ARG VCS_REF ARG BUILD_DATE -COPY --from=docker /usr/libexec/docker/cli-plugins/docker-compose /usr/bin/docker-compose +COPY --from=docker /usr/local/libexec/docker/cli-plugins/docker-compose /usr/local/bin/docker-compose COPY entrypoint.sh /entrypoint.sh # Metadata LABEL org.label-schema.vendor="Sudo-Bot" \ - org.label-schema.url="https://github.com/docker/compose#readme" \ + org.label-schema.url="https://github.com/sudo-bot/action-docker-compose#readme" \ org.label-schema.name="docker-compose action" \ org.label-schema.description="docker-compose action for GitHub actions" \ # org.label-schema.version=${RELEASE_VERSION} \ - org.label-schema.vcs-url="https://github.com/docker/compose.git" \ + org.label-schema.vcs-url="https://github.com/sudo-bot/action-docker-compose.git" \ org.label-schema.vcs-ref=${VCS_REF} \ org.label-schema.build-date=${BUILD_DATE} \ - org.label-schema.docker.schema-version="1.0" + org.label-schema.docker.schema-version="1.0" \ + \ + com.docker.extension.publisher-url="https://github.com/sudo-bot" \ + \ + org.opencontainers.image.title="docker-compose action for GitHub actions" \ + org.opencontainers.image.description="docker-compose action for GitHub actions" \ + org.opencontainers.image.authors="williamdes@wdes.fr" \ + org.opencontainers.image.url="https://github.com/sudo-bot/action-docker-compose#readme" \ + org.opencontainers.image.documentation="https://github.com/sudo-bot/action-docker-compose#readme" \ + org.opencontainers.image.source="https://github.com/sudo-bot/action-docker-compose" \ + org.opencontainers.image.vendor="sudo-bot" \ + org.opencontainers.image.licenses="MPL-2.0" \ + org.opencontainers.image.created=${BUILD_DATE} \ + #org.opencontainers.image.version=${VERSION} \ + org.opencontainers.image.revision=${VCS_REF} + #org.opencontainers.image.ref.name="${VERSION}" ENTRYPOINT ["/entrypoint.sh"]