Remove pip cache dir

This commit is contained in:
ViViDboarder 2020-02-10 17:14:19 -08:00
parent 5c97af4fb3
commit cb86cd531f
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ RUN apt-get update \
python-urllib3 \ python-urllib3 \
rsync \ rsync \
tahoe-lafs \ tahoe-lafs \
&& pip install -U boto b2 \ && pip install -U --no-cache-dir boto b2 \
&& apt-get autoremove -y python-pip \ && apt-get autoremove -y python-pip \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/apt/lists/* && rm -rf /var/apt/lists/*

View File

@ -17,8 +17,8 @@ RUN apt-get update \
python-urllib3 \ python-urllib3 \
rsync \ rsync \
tahoe-lafs \ tahoe-lafs \
&& pip install -U setuptools \ && pip install --no-cache-dir -U setuptools \
&& pip install -U boto b2 \ && pip install --no-cache-dir -U boto b2 \
&& apt-get remove -y python-pip \ && apt-get remove -y python-pip \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
python-swiftclient \ python-swiftclient \