-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile_x86_64
More file actions
38 lines (38 loc) · 893 Bytes
/
Dockerfile_x86_64
File metadata and controls
38 lines (38 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
ARG DOCKERSRC=frommakefile
#
FROM ${DOCKERSRC}
#
ARG PUID=991
ARG PGID=991
#
ENV BASE_URL=False IMAGE_PROXY=False
RUN set -xe \
&& apk add -Uu --no-cache --purge \
ca-certificates \
curl \
libxml2 \
libxslt \
openssl \
&& apk add --no-cache -t build-dependencies \
build-base \
python3-dev \
libffi-dev \
libxslt-dev \
libxml2-dev \
openssl-dev \
tar \
&& pip install -v --no-cache -r https://raw.githubusercontent.com/asciimoo/searx/master/requirements.txt \
&& mkdir /usr/local/searx \
&& cd /usr/local/searx \
&& curl -SL https://github.com/asciimoo/searx/archive/master.tar.gz | tar xz --strip 1 \
&& sed -i "s/127.0.0.1/0.0.0.0/g" searx/settings.yml \
&& apk del --purge build-dependencies \
&& rm -f /var/cache/apk/* /tmp/*
#
COPY root/ /
#
VOLUME /data
#
EXPOSE 8888
#
ENTRYPOINT ["/init"]