clear apt cache

This commit is contained in:
Girish Ramakrishnan 2019-07-16 12:23:34 -07:00
parent 84486897a6
commit 469203269a

View file

@ -3,7 +3,10 @@ FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c
RUN mkdir -p /app/code
WORKDIR /app/code
RUN apt update && apt install -y python build-essential libxslt-dev python-dev python-virtualenv zlib1g-dev libffi-dev libssl-dev python-pip
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