mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-19 20:09:16 +00:00
Add searx build for the master branch
This commit is contained in:
parent
f8b043c016
commit
5973419ae3
41
searx/Dockerfile.Master
Normal file
41
searx/Dockerfile.Master
Normal file
@ -0,0 +1,41 @@
|
||||
FROM alpine:3.9
|
||||
|
||||
ARG VERSION=master
|
||||
|
||||
ENV BASE_URL=False IMAGE_PROXY=False \
|
||||
UID=991 GID=991
|
||||
|
||||
RUN apk -U upgrade \
|
||||
&& apk add -t build-dependencies \
|
||||
build-base \
|
||||
python3-dev \
|
||||
libffi-dev \
|
||||
libxslt-dev \
|
||||
libxml2-dev \
|
||||
openssl-dev \
|
||||
git \
|
||||
ca-certificates \
|
||||
&& apk add \
|
||||
su-exec \
|
||||
python3 \
|
||||
libxml2 \
|
||||
libxslt \
|
||||
openssl \
|
||||
tini \
|
||||
&& mkdir /usr/local/searx && cd /usr/local/searx \
|
||||
&& git clone https://github.com/asciimoo/searx/ . \
|
||||
&& pip3 install --upgrade setuptools pip \
|
||||
&& pip3 install --no-cache -r requirements.txt \
|
||||
&& sed -i "s/127.0.0.1/0.0.0.0/g" searx/settings.yml \
|
||||
&& apk del build-dependencies \
|
||||
&& rm -f /var/cache/apk/*
|
||||
|
||||
COPY run.sh /usr/local/bin/run.sh
|
||||
|
||||
RUN chmod +x /usr/local/bin/run.sh
|
||||
|
||||
EXPOSE 8888
|
||||
|
||||
LABEL maintainer="hoellen <info@hoellen.eu>"
|
||||
|
||||
CMD ["run.sh"]
|
@ -12,6 +12,12 @@ It provides basic privacy by mixing your queries with searches on other platform
|
||||
- Latest code from [asciimoo/searx](https://github.com/asciimoo/searx)
|
||||
- A unique secret key is generated when booting the first time.
|
||||
|
||||
#### Tags
|
||||
- **latest** : latest stable version (0.15)
|
||||
- **master** : latest code from master branch
|
||||
|
||||
`latest` and `master` are built weekly. For security reasons, you should occasionally update the container, even if you have the latest version of Searx.
|
||||
|
||||
#### Build-time variables
|
||||
- **VERSION** : Searx version
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user