Pin searx to a revision
This commit is contained in:
parent
469203269a
commit
773d669e16
1 changed files with 5 additions and 4 deletions
|
@ -7,10 +7,11 @@ RUN apt update && \
|
|||
apt install -y python build-essential libxslt-dev python-dev python-virtualenv zlib1g-dev libffi-dev libssl-dev python-pip && \
|
||||
rm -rf /var/cache/apt /var/lib/apt/lists
|
||||
|
||||
RUN pip install --no-cache -r https://raw.githubusercontent.com/asciimoo/searx/master/requirements.txt
|
||||
RUN curl -L https://github.com/asciimoo/searx/archive/master.tar.gz | tar -xz --strip-components 1 -f -
|
||||
RUN mv /app/code/searx/settings.yml /app/code/searx/settings.yml.orig
|
||||
RUN ln -sf /app/data/settings.yml /app/code/searx/settings.yml
|
||||
RUN curl -L https://github.com/asciimoo/searx/archive/ddee4861cee8d5b08e9219d4e727acc35fc3ca32.tar.gz | tar -xz --strip-components 1 -f -
|
||||
RUN pip install --no-cache -r /app/code/requirements.txt
|
||||
|
||||
RUN mv /app/code/searx/settings.yml /app/code/searx/settings.yml.orig && \
|
||||
ln -sf /app/data/settings.yml /app/code/searx/settings.yml
|
||||
|
||||
RUN chown -R www-data.www-data /app/code
|
||||
|
||||
|
|
Loading…
Reference in a new issue