File tree Expand file tree Collapse file tree 16 files changed +19
-19
lines changed Expand file tree Collapse file tree 16 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ RUN set -x \
28
28
&& make install \
29
29
&& ldconfig \
30
30
&& curl -SL 'https://bootstrap.pypa.io/get-pip.py' | python2 \
31
- && pip install --upgrade pip==$PYTHON_PIP_VERSION \
31
+ && pip install --no-cache-dir -- upgrade pip==$PYTHON_PIP_VERSION \
32
32
&& find /usr/local \
33
33
\( -type d -a -name test -o -name tests \) \
34
34
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
35
35
-exec rm -rf '{}' + \
36
36
&& rm -rf /usr/src/python
37
37
38
38
# install "virtualenv", since the vast majority of users of this image will want it
39
- RUN pip install virtualenv
39
+ RUN pip install --no-cache-dir virtualenv
40
40
41
41
CMD ["python2" ]
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ RUN mkdir -p /usr/src/app
4
4
WORKDIR /usr/src/app
5
5
6
6
ONBUILD COPY requirements.txt /usr/src/app/
7
- ONBUILD RUN pip install -r requirements.txt
7
+ ONBUILD RUN pip install --no-cache-dir - r requirements.txt
8
8
9
9
ONBUILD COPY . /usr/src/app
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ RUN set -x \
36
36
&& make install \
37
37
&& ldconfig \
38
38
&& curl -SL 'https://bootstrap.pypa.io/get-pip.py' | python2 \
39
- && pip install --upgrade pip==$PYTHON_PIP_VERSION \
39
+ && pip install --no-cache-dir -- upgrade pip==$PYTHON_PIP_VERSION \
40
40
&& find /usr/local \
41
41
\( -type d -a -name test -o -name tests \) \
42
42
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
@@ -45,6 +45,6 @@ RUN set -x \
45
45
&& rm -rf /usr/src/python
46
46
47
47
# install "virtualenv", since the vast majority of users of this image will want it
48
- RUN pip install virtualenv
48
+ RUN pip install --no-cache-dir virtualenv
49
49
50
50
CMD ["python2" ]
Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ RUN set -x \
28
28
&& make install \
29
29
&& ldconfig \
30
30
&& curl -SL 'https://bootstrap.pypa.io/get-pip.py' | python2 \
31
- && pip install --upgrade pip==$PYTHON_PIP_VERSION \
31
+ && pip install --no-cache-dir -- upgrade pip==$PYTHON_PIP_VERSION \
32
32
&& find /usr/local \
33
33
\( -type d -a -name test -o -name tests \) \
34
34
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
35
35
-exec rm -rf '{}' + \
36
36
&& rm -rf /usr/src/python
37
37
38
38
# install "virtualenv", since the vast majority of users of this image will want it
39
- RUN pip install virtualenv
39
+ RUN pip install --no-cache-dir virtualenv
40
40
41
41
CMD ["python2" ]
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ RUN set -x \
28
28
&& make install \
29
29
&& ldconfig \
30
30
&& curl -SL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
31
- && pip install --upgrade pip==$PYTHON_PIP_VERSION \
31
+ && pip install --no-cache-dir -- upgrade pip==$PYTHON_PIP_VERSION \
32
32
&& find /usr/local \
33
33
\( -type d -a -name test -o -name tests \) \
34
34
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ RUN mkdir -p /usr/src/app
4
4
WORKDIR /usr/src/app
5
5
6
6
ONBUILD COPY requirements.txt /usr/src/app/
7
- ONBUILD RUN pip install -r requirements.txt
7
+ ONBUILD RUN pip install --no-cache-dir - r requirements.txt
8
8
9
9
ONBUILD COPY . /usr/src/app
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ RUN set -x \
36
36
&& make install \
37
37
&& ldconfig \
38
38
&& curl -SL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
39
- && pip install --upgrade pip==$PYTHON_PIP_VERSION \
39
+ && pip install --no-cache-dir -- upgrade pip==$PYTHON_PIP_VERSION \
40
40
&& find /usr/local \
41
41
\( -type d -a -name test -o -name tests \) \
42
42
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ RUN set -x \
28
28
&& make install \
29
29
&& ldconfig \
30
30
&& curl -SL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
31
- && pip install --upgrade pip==$PYTHON_PIP_VERSION \
31
+ && pip install --no-cache-dir -- upgrade pip==$PYTHON_PIP_VERSION \
32
32
&& find /usr/local \
33
33
\( -type d -a -name test -o -name tests \) \
34
34
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ RUN set -x \
28
28
&& make install \
29
29
&& ldconfig \
30
30
&& curl -SL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
31
- && pip install --upgrade pip==$PYTHON_PIP_VERSION \
31
+ && pip install --no-cache-dir -- upgrade pip==$PYTHON_PIP_VERSION \
32
32
&& find /usr/local \
33
33
\( -type d -a -name test -o -name tests \) \
34
34
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ RUN mkdir -p /usr/src/app
4
4
WORKDIR /usr/src/app
5
5
6
6
ONBUILD COPY requirements.txt /usr/src/app/
7
- ONBUILD RUN pip install -r requirements.txt
7
+ ONBUILD RUN pip install --no-cache-dir - r requirements.txt
8
8
9
9
ONBUILD COPY . /usr/src/app
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ RUN set -x \
36
36
&& make install \
37
37
&& ldconfig \
38
38
&& curl -SL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
39
- && pip install --upgrade pip==$PYTHON_PIP_VERSION \
39
+ && pip install --no-cache-dir -- upgrade pip==$PYTHON_PIP_VERSION \
40
40
&& find /usr/local \
41
41
\( -type d -a -name test -o -name tests \) \
42
42
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ RUN set -x \
28
28
&& make install \
29
29
&& ldconfig \
30
30
&& curl -SL 'https://bootstrap.pypa.io/get-pip.py' | python3 \
31
- && pip install --upgrade pip==$PYTHON_PIP_VERSION \
31
+ && pip install --no-cache-dir -- upgrade pip==$PYTHON_PIP_VERSION \
32
32
&& find /usr/local \
33
33
\( -type d -a -name test -o -name tests \) \
34
34
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ RUN set -x \
27
27
&& make -j$(nproc) \
28
28
&& make install \
29
29
&& ldconfig \
30
- && pip3 install --upgrade pip==$PYTHON_PIP_VERSION \
30
+ && pip3 install --no-cache-dir -- upgrade pip==$PYTHON_PIP_VERSION \
31
31
&& find /usr/local \
32
32
\( -type d -a -name test -o -name tests \) \
33
33
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ RUN mkdir -p /usr/src/app
4
4
WORKDIR /usr/src/app
5
5
6
6
ONBUILD COPY requirements.txt /usr/src/app/
7
- ONBUILD RUN pip install -r requirements.txt
7
+ ONBUILD RUN pip install --no-cache-dir - r requirements.txt
8
8
9
9
ONBUILD COPY . /usr/src/app
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ RUN set -x \
35
35
&& make -j$(nproc) \
36
36
&& make install \
37
37
&& ldconfig \
38
- && pip3 install --upgrade pip==$PYTHON_PIP_VERSION \
38
+ && pip3 install --no-cache-dir -- upgrade pip==$PYTHON_PIP_VERSION \
39
39
&& find /usr/local \
40
40
\( -type d -a -name test -o -name tests \) \
41
41
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ RUN set -x \
27
27
&& make -j$(nproc) \
28
28
&& make install \
29
29
&& ldconfig \
30
- && pip3 install --upgrade pip==$PYTHON_PIP_VERSION \
30
+ && pip3 install --no-cache-dir -- upgrade pip==$PYTHON_PIP_VERSION \
31
31
&& find /usr/local \
32
32
\( -type d -a -name test -o -name tests \) \
33
33
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
You can’t perform that action at this time.
0 commit comments