Commit 40c285e8 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

pip: avoid cache, for smaller images

This will save around 20MB, and as already explained
in former similar change in fixed-pydes, the pip cache
is useless there.
parent c59c0736344f
Pipeline #11807 passed with stages
in 6 minutes and 27 seconds
......@@ -10,8 +10,8 @@
build-essential \
python3-dev \
&& \
pip3 install Mercurial==${HG_VERSION} hg-evolve && \
pip3 install -r /root/requirements.txt && \
pip3 install --no-cache-dir Mercurial==${HG_VERSION} hg-evolve && \
pip3 install --no-cache-dir -r /root/requirements.txt && \
apt-get remove -y build-essential python3-dev && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* && \
......
......@@ -22,8 +22,8 @@
build-essential \
python3-dev \
&& \
pip3 install /root/tarballs/mercurial.tar && \
pip3 install /root/tarballs/evolve.tar && \
pip3 install --no-cache-dir /root/tarballs/mercurial.tar && \
pip3 install --no-cache-dir /root/tarballs/evolve.tar && \
pip3 install -r /root/requirements.txt && \
apt-get remove -y build-essential python3-dev && \
apt-get autoremove -y && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment