Add opencontainers labels to Dockerfile

This commit is contained in:
Hurl Bot 2022-11-18 20:20:08 +01:00 committed by lepapareil
parent 80fb0fd5b3
commit 13eb44f264
No known key found for this signature in database
GPG Key ID: F4F06B068FB00692

View File

@ -9,6 +9,9 @@ RUN cargo build --release --verbose --bin hurl
FROM alpine:3.17 AS runner
ARG docker_build_date
ARG hurl_latest_version
LABEL "org.opencontainers.image.source"="https://github.com/Orange-OpenSource/hurl"
LABEL "org.opencontainers.image.description"="Hurl is a command line tool that runs HTTP requests defined in a simple plain text format"
LABEL "org.opencontainers.image.licenses="Apache-2.0"
LABEL "com.orange.hurl.created"="${docker_build_date}"
LABEL "com.orange.hurl.authors"="Fabrice REIX, Jean Christophe AMIEL, Orange-OpenSource"
LABEL "com.orange.hurl.url"="https://hurl.dev"