mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-19 20:09:16 +00:00
Install pip to fix build
This commit is contained in:
parent
b650e65f66
commit
d24f8620b6
@ -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/*
|
||||
|
@ -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/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user