From bcc0b55f2026d4ba227a58b7a7027f57166e02ed Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 17 Jan 2021 20:14:01 +0100 Subject: [PATCH] chore(docker): switch to org.opencontainers image labels --- docker/Dockerfile.amd64 | 12 +++++++----- docker/Dockerfile.arm | 12 +++++++----- docker/Dockerfile.arm64 | 12 +++++++----- 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/docker/Dockerfile.amd64 b/docker/Dockerfile.amd64 index 4552f0f..911ab51 100644 --- a/docker/Dockerfile.amd64 +++ b/docker/Dockerfile.amd64 @@ -1,9 +1,11 @@ -FROM plugins/base:multiarch +FROM amd64/alpine:3.13 -LABEL maintainer="Robert Kaussow " \ - org.label-schema.name="Drone GitHub Comment" \ - org.label-schema.vendor="Robert Kaussow" \ - org.label-schema.schema-version="1.0" +LABEL maintainer="Robert Kaussow " +LABEL org.opencontainers.image.authors="Robert Kaussow " +LABEL org.opencontainers.image.title="drone-github-comment" +LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-github-comment" +LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-github-comment" +LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-github-comment" ADD release/amd64/drone-github-comment /bin/ ENTRYPOINT [ "/bin/drone-github-comment" ] diff --git a/docker/Dockerfile.arm b/docker/Dockerfile.arm index 5ffc026..a145c21 100644 --- a/docker/Dockerfile.arm +++ b/docker/Dockerfile.arm @@ -1,9 +1,11 @@ -FROM plugins/base:multiarch +FROM arm32v6/alpine:3.13 -LABEL maintainer="Robert Kaussow " \ - org.label-schema.name="Drone GitHub Comment" \ - org.label-schema.vendor="Robert Kaussow" \ - org.label-schema.schema-version="1.0" +LABEL maintainer="Robert Kaussow " +LABEL org.opencontainers.image.authors="Robert Kaussow " +LABEL org.opencontainers.image.title="drone-github-comment" +LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-github-comment" +LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-github-comment" +LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-github-comment" ADD release/arm/drone-github-comment /bin/ ENTRYPOINT [ "/bin/drone-github-comment" ] diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 21793fd..5843b9b 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -1,9 +1,11 @@ -FROM plugins/base:multiarch +FROM arm64v7/alpine:3.13 -LABEL maintainer="Robert Kaussow " \ - org.label-schema.name="Drone GitHub Comment" \ - org.label-schema.vendor="Robert Kaussow" \ - org.label-schema.schema-version="1.0" +LABEL maintainer="Robert Kaussow " +LABEL org.opencontainers.image.authors="Robert Kaussow " +LABEL org.opencontainers.image.title="drone-github-comment" +LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-github-comment" +LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-github-comment" +LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-github-comment" ADD release/arm64/drone-github-comment /bin/ ENTRYPOINT [ "/bin/drone-github-comment" ]