From f57537dfcf192b7b5424595b9119d89aef6f6180 Mon Sep 17 00:00:00 2001 From: xZero707 Date: Thu, 6 Apr 2023 03:30:03 +0200 Subject: [PATCH] Define more org.opencontainers labels --- Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 889f3f3..55236f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,13 @@ ENV CRON_ENABLED=true WORKDIR "/var/www/html/" VOLUME ["/root/.wp-cli", "/var/www/html/wp-content"] -LABEL maintainer="Aleksandar Puharic " -LABEL org.opencontainers.image.source = "https://github.com/N0rthernL1ghts/wordpress" +LABEL maintainer="Aleksandar Puharic " \ + org.opencontainers.image.documentation="https://github.com/N0rthernL1ghts/wordpress/wiki" \ + org.opencontainers.image.source="https://github.com/N0rthernL1ghts/wordpress" \ + org.opencontainers.image.description="nginx-unit Powered WordPress ${WP_VERSION} - Build ${TARGETPLATFORM}" \ + org.opencontainers.image.licenses="MIT" \ + org.opencontainers.image.version="${WP_VERSION}" + + ENTRYPOINT ["/init"] EXPOSE 80/TCP