Add OCI Image Labels

This commit is contained in:
Julian Mundhahs 2024-02-04 11:32:54 +01:00
parent 76f9cea516
commit 83d1eca2e6
3 changed files with 36 additions and 4 deletions

View file

@ -29,6 +29,13 @@ RUN \
FROM scratch
LABEL "com.centurylinklabs.watchtower"="true"
LABEL "org.opencontainers.image.url"="https://containrrr.dev/watchtower/" \
"org.opencontainers.image.documentation"="https://containrrr.dev/watchtower/" \
"org.opencontainers.image.source"="https://github.com/containrrr/watchtower" \
"org.opencontainers.image.licenses"="Apache-2.0" \
"org.opencontainers.image.title"="watchtower" \
"org.opencontainers.image.title"="A process for automating Docker container base image updates." \
"org.opencontainers.image.base.name"="alpine"
# copy files from other container
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt