Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCI Labels by default for dockerfile #406

Open
2 tasks done
Spuxy opened this issue Oct 21, 2024 · 0 comments
Open
2 tasks done

OCI Labels by default for dockerfile #406

Spuxy opened this issue Oct 21, 2024 · 0 comments
Labels
proposal Feature request

Comments

@Spuxy
Copy link

Spuxy commented Oct 21, 2024

Is your feature request related to a problem? Please describe.

It would be good, that we have Dockerfile with labels/metadata information which would be propagated from Makefile for OCI standardisation and good practice for docker community

Describe the solution you'd like

LABEL org.opencontainers.image.created="${BUILD_DATE}" \
      org.opencontainers.image.title="${NAME_APP}" \
      org.opencontainers.image.authors="${AUTHOR}" \
      org.opencontainers.image.source="${URL_TO_YOUR_PROJECT}" \
      org.opencontainers.image.revision="${BUILD_REF}" \
      org.opencontainers.image.vendor="${YOUR_ORG}" // optional

Describe alternatives you've considered

I think thats pure optional this option but its nice to have it, if u build public docker image for others.
There must be change in Makefile to generate it when the user builds new docker tag.

Search

  • I did search for other open and closed issues before opening this.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

@MarvinJWendt MarvinJWendt added the proposal Feature request label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Feature request
Projects
None yet
Development

No branches or pull requests

2 participants