Install pip to fix build

This commit is contained in:
hoellen 2020-06-05 08:20:42 +02:00
parent b650e65f66
commit d24f8620b6
2 changed files with 6 additions and 4 deletions

View File

@ -14,6 +14,7 @@ RUN apk -U upgrade \
libxml2-dev \
openssl-dev \
tar \
py-pip \
ca-certificates \
&& apk add \
su-exec \
@ -24,8 +25,8 @@ RUN apk -U upgrade \
tini \
&& mkdir /usr/local/searx && cd /usr/local/searx \
&& wget -qO- https://github.com/asciimoo/searx/archive/v${VERSION}.tar.gz | tar xz --strip 1 \
&& pip3 install --upgrade setuptools pip \
&& pip3 install --no-cache -r requirements.txt \
&& pip install --upgrade setuptools pip \
&& pip 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/*

View File

@ -13,6 +13,7 @@ RUN apk -U upgrade \
libxslt-dev \
libxml2-dev \
openssl-dev \
py-pip \
git \
ca-certificates \
&& apk add \
@ -24,8 +25,8 @@ RUN apk -U upgrade \
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 \
&& pip install --upgrade setuptools pip \
&& pip 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/*