summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2020-02-23 14:43:14 +0000
committerGitHub <noreply@github.com>2020-02-23 14:43:14 +0000
commit57efb45ce58ec180b89c5fd5943a2d52d974dc3e (patch)
tree2e3af4d525d783d2fc61a1852564c5dd4385c0cd
parent8c2609775755d991c9905a0852c2770a79d1c091 (diff)
parent55aa7f96c17b46071616df3106219ff8230f7c7b (diff)
Merge pull request #1773 from Monogramm/docker/opencontainers
📝 Add Opencontainers labels in docker image
-rw-r--r--Dockerfile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index b0b5a609d..9885fb794 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -76,4 +76,11 @@ LABEL maintainer="searx <https://github.com/asciimoo/searx>" \
org.label-schema.vcs-ref=${LABEL_VCS_REF} \
org.label-schema.vcs-url=${LABEL_VCS_URL} \
org.label-schema.build-date="${LABEL_DATE}" \
- org.label-schema.usage="https://github.com/searx/searx-docker"
+ org.label-schema.usage="https://github.com/searx/searx-docker" \
+ org.opencontainers.image.title="searx" \
+ org.opencontainers.image.version="${SEARX_GIT_VERSION}" \
+ org.opencontainers.image.url="${LABEL_VCS_URL}" \
+ org.opencontainers.image.revision=${LABEL_VCS_REF} \
+ org.opencontainers.image.source=${LABEL_VCS_URL} \
+ org.opencontainers.image.created="${LABEL_DATE}" \
+ org.opencontainers.image.documentation="https://github.com/searx/searx-docker"