This repository was archived by the owner on Oct 22, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ MAINTAINER Tom Denham <tom@projectcalico.org>
1717WORKDIR /code/
1818
1919RUN apt-get update && \
20- apt-get install -qy python-dev python-pip git libffi-dev libssl-dev procps
20+ apt-get install -qy python-dev python-pip git libffi-dev libssl-dev procps && rm -rf /var/lib/apt/lists/*
2121
2222# Install the python packages needed for building binaries for Calico Python components.
2323# Git is installed to allow pip installation from a Github repository.
24- RUN pip install --upgrade pip
24+ RUN pip --no-cache-dir install --upgrade pip
2525ADD build-requirements-frozen.txt /code/
26- RUN pip install -r build-requirements-frozen.txt
26+ RUN pip --no-cache-dir install -r build-requirements-frozen.txt
2727ADD . /tmp/pycalico
28- RUN pip install /tmp/pycalico
28+ RUN pip --no-cache-dir install /tmp/pycalico
Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ MAINTAINER Tom Denham <tom@projectcalico.org>
2020WORKDIR /code/
2121
2222RUN apt-get update && \
23- apt-get install -qy python-dev python-pip git libffi-dev libssl-dev procps
23+ apt-get install -qy python-dev python-pip git libffi-dev libssl-dev procps && rm -rf /var/lib/apt/lists/*
2424
2525# Install the python packages needed for building binaries for Calico Python components.
2626# Git is installed to allow pip installation from a Github repository.
27- RUN pip install --upgrade pip
27+ RUN pip --no-cache-dir install --upgrade pip
2828ADD build-requirements-frozen.txt /code/
29- RUN pip install -r build-requirements-frozen.txt
29+ RUN pip --no-cache-dir install -r build-requirements-frozen.txt
3030ADD . /tmp/pycalico
31- RUN pip install /tmp/pycalico
31+ RUN pip --no-cache-dir install /tmp/pycalico
You can’t perform that action at this time.
0 commit comments