summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authormathieu.brunot <mathieu.brunot@monogramm.io>2019-12-17 21:06:22 +0100
committermathieu.brunot <mathieu.brunot@monogramm.io>2019-12-17 21:06:22 +0100
commit088752959e5cb635b55cb74e8d9d90e5062e0a7f (patch)
tree2b2337787c4c15612a106b26a394edc5b52674a3 /Dockerfile
parentda56bda26542de5697691ff80dac6df876fb366b (diff)
:memo: Opencontainers labels in docker image #1772
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index b0b5a609..9885fb79 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"