mirror of
https://github.com/anchore/grype
synced 2024-11-10 06:34:13 +00:00
convert from deprecated org.label-schema to OCI Annotations (#599)
Signed-off-by: Weston Steimel <weston.steimel@anchore.com>
This commit is contained in:
parent
3ba7e56e42
commit
7e4e1e3158
1 changed files with 8 additions and 8 deletions
16
Dockerfile
16
Dockerfile
|
@ -16,13 +16,13 @@ ARG BUILD_VERSION
|
|||
ARG VCS_REF
|
||||
ARG VCS_URL
|
||||
|
||||
LABEL org.label-schema.schema-version="1.0"
|
||||
LABEL org.label-schema.build-date=$BUILD_DATE
|
||||
LABEL org.label-schema.name="grype"
|
||||
LABEL org.label-schema.description="A vulnerability scanner for container images and filesystems"
|
||||
LABEL org.label-schema.vcs-url=$VCS_URL
|
||||
LABEL org.label-schema.vcs-ref=$VCS_REF
|
||||
LABEL org.label-schema.vendor="Anchore, Inc."
|
||||
LABEL org.label-schema.version=$BUILD_VERSION
|
||||
LABEL org.opencontainers.image.created=$BUILD_DATE
|
||||
LABEL org.opencontainers.image.title="grype"
|
||||
LABEL org.opencontainers.image.description="A vulnerability scanner for container images and filesystems"
|
||||
LABEL org.opencontainers.image.source=$VCS_URL
|
||||
LABEL org.opencontainers.image.revision=$VCS_REF
|
||||
LABEL org.opencontainers.image.vendor="Anchore, Inc."
|
||||
LABEL org.opencontainers.image.version=$BUILD_VERSION
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
|
||||
ENTRYPOINT ["/grype"]
|
||||
|
|
Loading…
Reference in a new issue