diff options
author | Johannes 'josch' Schauer <josch@debian.org> | 2020-07-14 16:26:13 +0200 |
---|---|---|
committer | Johannes 'josch' Schauer <josch@debian.org> | 2020-07-14 16:26:13 +0200 |
commit | 075e7e02683d9db1b303de8e8c17ff7da4c62510 (patch) | |
tree | 72d3ed7514879810445f4309e641e29d9c57d02d /Dockerfile | |
parent | 61b98ca52e8d48a6ad3b4baed5feb4b38ee53804 (diff) |
New upstream version 0.17.0+dfsg1
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -4,6 +4,7 @@ EXPOSE 8080 VOLUME /etc/searx VOLUME /var/log/uwsgi +ARG GIT_URL=unknown ARG VERSION_GITCOMMIT=unknown ARG SEARX_GIT_VERSION=unknown @@ -52,7 +53,8 @@ RUN apk upgrade --no-cache \ uwsgi-python3 \ && pip3 install --upgrade pip \ && pip3 install --no-cache -r requirements.txt \ - && apk del build-dependencies + && apk del build-dependencies \ + && rm -rf /root/.cache COPY --chown=searx:searx . . @@ -66,7 +68,7 @@ RUN su searx -c "/usr/bin/python3 -m compileall -q searx"; \ # Keep this argument at the end since it change each time ARG LABEL_DATE= -LABEL maintainer="searx <https://github.com/asciimoo/searx>" \ +LABEL maintainer="searx <${GIT_URL}>" \ description="A privacy-respecting, hackable metasearch engine." \ version="${SEARX_GIT_VERSION}" \ org.label-schema.schema-version="1.0" \ @@ -76,4 +78,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" |