mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +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 \
|
libxml2-dev \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
tar \
|
tar \
|
||||||
|
py-pip \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
&& apk add \
|
&& apk add \
|
||||||
su-exec \
|
su-exec \
|
||||||
@ -24,8 +25,8 @@ RUN apk -U upgrade \
|
|||||||
tini \
|
tini \
|
||||||
&& mkdir /usr/local/searx && cd /usr/local/searx \
|
&& mkdir /usr/local/searx && cd /usr/local/searx \
|
||||||
&& wget -qO- https://github.com/asciimoo/searx/archive/v${VERSION}.tar.gz | tar xz --strip 1 \
|
&& wget -qO- https://github.com/asciimoo/searx/archive/v${VERSION}.tar.gz | tar xz --strip 1 \
|
||||||
&& pip3 install --upgrade setuptools pip \
|
&& pip install --upgrade setuptools pip \
|
||||||
&& pip3 install --no-cache -r requirements.txt \
|
&& pip install --no-cache -r requirements.txt \
|
||||||
&& sed -i "s/127.0.0.1/0.0.0.0/g" searx/settings.yml \
|
&& sed -i "s/127.0.0.1/0.0.0.0/g" searx/settings.yml \
|
||||||
&& apk del build-dependencies \
|
&& apk del build-dependencies \
|
||||||
&& rm -f /var/cache/apk/*
|
&& rm -f /var/cache/apk/*
|
||||||
|
@ -13,6 +13,7 @@ RUN apk -U upgrade \
|
|||||||
libxslt-dev \
|
libxslt-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
|
py-pip \
|
||||||
git \
|
git \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
&& apk add \
|
&& apk add \
|
||||||
@ -24,8 +25,8 @@ RUN apk -U upgrade \
|
|||||||
tini \
|
tini \
|
||||||
&& mkdir /usr/local/searx && cd /usr/local/searx \
|
&& mkdir /usr/local/searx && cd /usr/local/searx \
|
||||||
&& git clone https://github.com/asciimoo/searx/ . \
|
&& git clone https://github.com/asciimoo/searx/ . \
|
||||||
&& pip3 install --upgrade setuptools pip \
|
&& pip install --upgrade setuptools pip \
|
||||||
&& pip3 install --no-cache -r requirements.txt \
|
&& pip install --no-cache -r requirements.txt \
|
||||||
&& sed -i "s/127.0.0.1/0.0.0.0/g" searx/settings.yml \
|
&& sed -i "s/127.0.0.1/0.0.0.0/g" searx/settings.yml \
|
||||||
&& apk del build-dependencies \
|
&& apk del build-dependencies \
|
||||||
&& rm -f /var/cache/apk/*
|
&& rm -f /var/cache/apk/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user