cert-manager/hack/containers/Containerfile.cainjector
James Callahan 33e9c030ea
Add org.opencontainers.image.source OCI label to containers
A full list of pre-defined annotations is available at:
https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys

Signed-off-by: James Callahan <james@wavesquid.com>
2023-01-13 18:28:24 +11:00

16 lines
348 B
Docker

ARG BASE_IMAGE
FROM $BASE_IMAGE
LABEL org.opencontainers.image.source="https://github.com/cert-manager/cert-manager"
USER 1000
COPY cainjector /app/cmd/cainjector/cainjector
COPY cert-manager.license /licenses/LICENSE
COPY cert-manager.licenses_notice /licenses/LICENSES
ENTRYPOINT ["/app/cmd/cainjector/cainjector"]
# vim: syntax=dockerfile