diff options
author | Alexandre Flament <alex@al-f.net> | 2023-01-20 10:32:38 +0000 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2023-01-20 10:46:00 +0000 |
commit | f759a84af419186a2bac6652e0f06dc791d63377 (patch) | |
tree | 0f0e4bf4f23f2358876dd8bf03e63d5cbfac03a4 /Dockerfile | |
parent | eed9b09d98d42501ff6782041868db4267fca7d5 (diff) | |
download | searxng-f759a84af419186a2bac6652e0f06dc791d63377.tar.gz searxng-f759a84af419186a2bac6652e0f06dc791d63377.zip |
SearXNG version: fix make docker
continuation of #2117
related to #2111
This commit:
* fixes the Docker tag using an additional variable DOCKER_TAG, see searx/version.py
* fixes the Docker labels org.label-schema.vcs-ref and org.opencontainers.image.revision
* adds searx/version_frozen to .gitignore
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 66f58395d..be045f64b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,6 +65,7 @@ RUN su searxng -c "/usr/bin/python3 -m compileall -q searx" \ ARG LABEL_DATE= ARG GIT_URL=unknown ARG SEARXNG_GIT_VERSION=unknown +ARG SEARXNG_DOCKER_TAG=unknown ARG LABEL_VCS_REF= ARG LABEL_VCS_URL= LABEL maintainer="searxng <${GIT_URL}>" \ @@ -79,7 +80,7 @@ LABEL maintainer="searxng <${GIT_URL}>" \ org.label-schema.build-date="${LABEL_DATE}" \ org.label-schema.usage="https://github.com/searxng/searxng-docker" \ org.opencontainers.image.title="searxng" \ - org.opencontainers.image.version="${SEARXNG_GIT_VERSION}" \ + org.opencontainers.image.version="${SEARXNG_DOCKER_TAG}" \ org.opencontainers.image.url="${LABEL_VCS_URL}" \ org.opencontainers.image.revision=${LABEL_VCS_REF} \ org.opencontainers.image.source=${LABEL_VCS_URL} \ |