Add all org.opencontainers.image.xxx labels using --label instead of LABEL

This commit is contained in:
Leonard Jonathan Oh 2023-03-13 23:41:43 +00:00
parent 7ac893b179
commit c117d8baa1
2 changed files with 5 additions and 3 deletions

View file

@ -23,9 +23,6 @@ RUN set -eux; \
FROM php:8.1-fpm-alpine AS final
LABEL org.label-schema.description="SnappyMail webmail client image using nginx, php-fpm on Alpine"
LABEL org.opencontainers.image.source=https://github.com/the-djmaze/snappymail
LABEL org.opencontainers.image.description="SnappyMail"
LABEL org.opencontainers.image.licenses="AGPL v3.0"
# Install dependencies such as nginx
RUN apk add --no-cache ca-certificates nginx supervisor bash