feat: add OCI image labels to all Dockerfiles#113
Merged
jorge07 merged 1 commit intojorge07:masterfrom Feb 22, 2026
Merged
Conversation
Replaces the bare 'maintainer' LABEL with standard org.opencontainers.image.* labels across all four PHP versions (8.1, 8.2, 8.3, 8.4). Labels added: authors — Jorge Arco <jorge.arcoma@gmail.com> source — https://github.com/jorge07/alpine-php title — jorge07/alpine-php description — Lightweight PHP-FPM Docker images based on Alpine Linux licenses — Apache-2.0 url — https://hub.docker.com/r/jorge07/alpine-php created — populated via BUILD_DATE ARG at build time revision — populated via VCS_REF ARG at build time Makefile updated: OCI_LABELS variable computes BUILD_DATE and VCS_REF from current date/git SHA and passes them as --build-arg to all build and release targets. Build-tested locally (8.3): all 8 labels confirmed in docker inspect. Closes jorge07#101 (OCI labels item)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #101 (OCI labels item)
What
Replaces the bare
LABEL maintainer=...with the standardorg.opencontainers.image.*label set across all PHP versions.Labels added
authorssourcetitledescriptionlicensesurlcreatedBUILD_DATEARG)revisionVCS_REFARG)Makefile
Added
OCI_LABELSvariable that computesBUILD_DATEandVCS_REFfrom the current date and git SHA, and passes them as--build-argto allbuildandreleasetargets.Verification