2ENTRYPOINT ["/sbin/tini","--","/usr/local/searx/dockerfiles/docker-entrypoint.sh"]
8ARG VERSION_GITCOMMIT=unknown
9ARG SEARX_GIT_VERSION=unknown
14RUN addgroup -g ${SEARX_GID} searx && \
15 adduser -u ${SEARX_UID} -D -h /usr/local/searx -s /bin/sh -G searx searx
17ARG TIMESTAMP_SETTINGS=0
22ENV INSTANCE_NAME=searx \
28WORKDIR /usr/local/searx
31COPY requirements.txt ./requirements.txt
33RUN apk upgrade --no-cache \
34 && apk add --no-cache -t build-dependencies \
44 && apk add --no-cache \
54 && pip3 install --upgrade pip \
55 && pip3 install --no-cache -r requirements.txt \
56 && apk del build-dependencies \
57 && rm -rf /root/.cache
59COPY --chown=searx:searx . .
61RUN su searx -c "/usr/bin/python3 -m compileall -q searx"; \
62 touch -c --date=@${TIMESTAMP_SETTINGS} searx/settings.yml; \
63 touch -c --date=@${TIMESTAMP_UWSGI} dockerfiles/uwsgi.ini; \
64 if [ ! -z $VERSION_GITCOMMIT ]; then\
65 echo "VERSION_STRING = VERSION_STRING + \"-$VERSION_GITCOMMIT\"" >> /usr/local/searx/searx/version.py; \
69# Keep this argument at the end since it change each time
71LABEL maintainer="searx <${GIT_URL}>" \
72 description="A privacy-respecting, hackable metasearch engine." \
73 version="${SEARX_GIT_VERSION}" \
74 org.label-schema.schema-version="1.0" \
75 org.label-schema.name="searx" \
76 org.label-schema.version="${SEARX_GIT_VERSION}" \
77 org.label-schema.url="${LABEL_VCS_URL}" \
78 org.label-schema.vcs-ref=${LABEL_VCS_REF} \
79 org.label-schema.vcs-url=${LABEL_VCS_URL} \
80 org.label-schema.build-date="${LABEL_DATE}" \
81 org.label-schema.usage="https://github.com/searx/searx-docker" \
82 org.opencontainers.image.title="searx" \
83 org.opencontainers.image.version="${SEARX_GIT_VERSION}" \
84 org.opencontainers.image.url="${LABEL_VCS_URL}" \
85 org.opencontainers.image.revision=${LABEL_VCS_REF} \
86 org.opencontainers.image.source=${LABEL_VCS_URL} \
87 org.opencontainers.image.created="${LABEL_DATE}" \
88 org.opencontainers.image.documentation="https://github.com/searx/searx-docker"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list