Skip to content

Commit

Permalink
Add image.source annotation keys to Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
okiedork committed Jul 30, 2022
1 parent ceaccf1 commit 851761d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docker/nginx.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ LABEL maintainer="Flavio Heleno <flaviohbatista@gmail.com>" \
org.opencontainers.image.url="https://github.com/package-health/php" \
org.opencontainers.image.vendor="Package Health" \
org.opencontainers.image.version="${VERSION}" \
org.opencontainers.image.base.name="ghcr.io/package-health/pph-nginx:${VERSION}"
org.opencontainers.image.base.name="ghcr.io/package-health/pph-nginx:${VERSION}" \
org.opencontainers.image.source="https://github.com/package-health/php"

WORKDIR /usr/share/nginx/html
6 changes: 4 additions & 2 deletions docker/php.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ LABEL maintainer="Flavio Heleno <flaviohbatista@gmail.com>" \
org.opencontainers.image.url="https://github.com/package-health/php" \
org.opencontainers.image.vendor="Package Health" \
org.opencontainers.image.version="${VERSION}" \
org.opencontainers.image.base.name="ghcr.io/package-health/pph-php-cli:${VERSION}"
org.opencontainers.image.base.name="ghcr.io/package-health/pph-php-cli:${VERSION}" \
org.opencontainers.image.source="https://github.com/package-health/php"

ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["php"]
Expand Down Expand Up @@ -255,7 +256,8 @@ LABEL maintainer="Flavio Heleno <flaviohbatista@gmail.com>" \
org.opencontainers.image.url="https://github.com/package-health/php" \
org.opencontainers.image.vendor="Package Health" \
org.opencontainers.image.version="${VERSION}" \
org.opencontainers.image.base.name="ghcr.io/package-health/pph-php-fpm:${VERSION}"
org.opencontainers.image.base.name="ghcr.io/package-health/pph-php-fpm:${VERSION}" \
org.opencontainers.image.source="https://github.com/package-health/php"

ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["php-fpm"]

0 comments on commit 851761d

Please sign in to comment.