ADD alpine-minirootfs-3.20.3-aarch64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
ENTRYPOINT ["/sbin/tini" "--" "/usr/local/searxng/dockerfiles/docker-entrypoint.sh"] |
EXPOSE map[8080/tcp:{}] |
VOLUME [/etc/searxng] |
ARG SEARXNG_GID=977 |
ARG SEARXNG_UID=977 |
RUN |2 SEARXNG_GID=977 SEARXNG_UID=977 /bin/sh -c addgroup -g ${SEARXNG_GID} searxng && adduser -u ${SEARXNG_UID} -D -h /usr/local/searxng -s /bin/sh -G searxng searxng # buildkit |
ENV INSTANCE_NAME=searxng AUTOCOMPLETE= BASE_URL= MORTY_KEY= MORTY_URL= SEARXNG_SETTINGS_PATH=/etc/searxng/settings.yml UWSGI_SETTINGS_PATH=/etc/searxng/uwsgi.ini UWSGI_WORKERS=%k UWSGI_THREADS=4 |
WORKDIR /usr/local/searxng |
COPY requirements.txt ./requirements.txt # buildkit |
RUN |2 SEARXNG_GID=977 SEARXNG_UID=977 /bin/sh -c apk add --no-cache -t build-dependencies build-base py3-setuptools python3-dev libffi-dev libxslt-dev libxml2-dev openssl-dev tar git && apk add --no-cache ca-certificates python3 py3-pip libxml2 libxslt openssl tini uwsgi uwsgi-python3 brotli && pip3 install --break-system-packages --no-cache -r requirements.txt && apk del build-dependencies && rm -rf /root/.cache # buildkit |
COPY --chown=searxng:searxng dockerfiles ./dockerfiles # buildkit |
COPY --chown=searxng:searxng searx ./searx # buildkit |
ARG TIMESTAMP_SETTINGS=1731251381 |
ARG TIMESTAMP_UWSGI=1714167749 |
ARG VERSION_GITCOMMIT=10d3af84b |
RUN |5 SEARXNG_GID=977 SEARXNG_UID=977 TIMESTAMP_SETTINGS=1731251381 TIMESTAMP_UWSGI=1714167749 VERSION_GITCOMMIT=10d3af84b /bin/sh -c su searxng -c "/usr/bin/python3 -m compileall -q searx" && touch -c --date=@${TIMESTAMP_SETTINGS} searx/settings.yml && touch -c --date=@${TIMESTAMP_UWSGI} dockerfiles/uwsgi.ini && find /usr/local/searxng/searx/static -a \( -name '*.html' -o -name '*.css' -o -name '*.js' -o -name '*.svg' -o -name '*.ttf' -o -name '*.eot' \) -type f -exec gzip -9 -k {} \+ -exec brotli --best {} \+ # buildkit |
ARG LABEL_DATE=2024-11-17T17:17:25Z |
ARG GIT_URL=https://github.com/searxng/searxng |
ARG SEARXNG_GIT_VERSION=2024.11.17+10d3af84b |
ARG SEARXNG_DOCKER_TAG=2024.11.17-10d3af84b |
ARG LABEL_VCS_REF=10d3af84b833ab2f2d1095efa3a7ba240ffb32fc |
ARG LABEL_VCS_URL=https://github.com/searxng/searxng |
LABEL maintainer=searxng <https://github.com/searxng/searxng> description=A privacy-respecting, hackable metasearch engine. version=2024.11.17+10d3af84b org.label-schema.schema-version=1.0 org.label-schema.name=searxng org.label-schema.version=2024.11.17+10d3af84b org.label-schema.url=https://github.com/searxng/searxng org.label-schema.vcs-ref=10d3af84b833ab2f2d1095efa3a7ba240ffb32fc org.label-schema.vcs-url=https://github.com/searxng/searxng org.label-schema.build-date=2024-11-17T17:17:25Z org.label-schema.usage=https://github.com/searxng/searxng-docker org.opencontainers.image.title=searxng org.opencontainers.image.version=2024.11.17-10d3af84b org.opencontainers.image.url=https://github.com/searxng/searxng org.opencontainers.image.revision=10d3af84b833ab2f2d1095efa3a7ba240ffb32fc org.opencontainers.image.source=https://github.com/searxng/searxng org.opencontainers.image.created=2024-11-17T17:17:25Z org.opencontainers.image.documentation=https://github.com/searxng/searxng-docker |
COPY /etc/searxng/limiter.toml /etc/searxng/limiter.toml # buildkit |
COPY /usr/local/searxng/searx/static/themes/ /usr/local/searxng/searx/static/themes/ # buildkit |
WORKDIR /usr/local/searxng |
RUN /bin/sh -c su searxng -c "/usr/bin/python3 -m compileall -q searx"; # buildkit |