File tree Expand file tree Collapse file tree 4 files changed +24
-4
lines changed Expand file tree Collapse file tree 4 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ ENV PYTHON_VERSION 2.7.13
18
18
19
19
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
20
20
ENV PYTHON_PIP_VERSION 9.0.1
21
+ ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
22
+ ENV PYTHON_WHEEL_VERSION 0.29.0
21
23
22
24
RUN set -ex \
23
25
&& buildDeps=' \
@@ -50,7 +52,10 @@ RUN set -ex \
50
52
# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
51
53
# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
52
54
# https://github.com/docker-library/python/pull/143#issuecomment-241032683
53
- && pip install --no-cache-dir --upgrade --force-reinstall "pip==$PYTHON_PIP_VERSION" \
55
+ && pip install --no-cache-dir --upgrade --force-reinstall \
56
+ "pip==$PYTHON_PIP_VERSION" \
57
+ "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
58
+ "wheel==$PYTHON_WHEEL_VERSION" \
54
59
\
55
60
&& find /usr/local -depth \
56
61
\( \
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ ENV PYTHON_VERSION 2.7.13
16
16
17
17
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
18
18
ENV PYTHON_PIP_VERSION 9.0.1
19
+ ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
20
+ ENV PYTHON_WHEEL_VERSION 0.29.0
19
21
20
22
RUN set -ex \
21
23
&& apk add --no-cache --virtual .fetch-deps \
@@ -67,7 +69,10 @@ RUN set -ex \
67
69
# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
68
70
# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
69
71
# https://github.com/docker-library/python/pull/143#issuecomment-241032683
70
- && pip install --no-cache-dir --upgrade --force-reinstall "pip==$PYTHON_PIP_VERSION" \
72
+ && pip install --no-cache-dir --upgrade --force-reinstall \
73
+ "pip==$PYTHON_PIP_VERSION" \
74
+ "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
75
+ "wheel==$PYTHON_WHEEL_VERSION" \
71
76
\
72
77
&& find /usr/local -depth \
73
78
\( \
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ ENV PYTHON_VERSION 2.7.13
20
20
21
21
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
22
22
ENV PYTHON_PIP_VERSION 9.0.1
23
+ ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
24
+ ENV PYTHON_WHEEL_VERSION 0.29.0
23
25
24
26
RUN set -ex \
25
27
&& buildDeps=' \
@@ -65,7 +67,10 @@ RUN set -ex \
65
67
# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
66
68
# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
67
69
# https://github.com/docker-library/python/pull/143#issuecomment-241032683
68
- && pip install --no-cache-dir --upgrade --force-reinstall "pip==$PYTHON_PIP_VERSION" \
70
+ && pip install --no-cache-dir --upgrade --force-reinstall \
71
+ "pip==$PYTHON_PIP_VERSION" \
72
+ "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
73
+ "wheel==$PYTHON_WHEEL_VERSION" \
69
74
\
70
75
&& find /usr/local -depth \
71
76
\( \
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ ENV PYTHON_VERSION 2.7.13
18
18
19
19
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
20
20
ENV PYTHON_PIP_VERSION 9.0.1
21
+ ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
22
+ ENV PYTHON_WHEEL_VERSION 0.29.0
21
23
22
24
RUN set -ex \
23
25
&& buildDeps=' \
@@ -50,7 +52,10 @@ RUN set -ex \
50
52
# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
51
53
# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
52
54
# https://github.com/docker-library/python/pull/143#issuecomment-241032683
53
- && pip install --no-cache-dir --upgrade --force-reinstall "pip==$PYTHON_PIP_VERSION" \
55
+ && pip install --no-cache-dir --upgrade --force-reinstall \
56
+ "pip==$PYTHON_PIP_VERSION" \
57
+ "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
58
+ "wheel==$PYTHON_WHEEL_VERSION" \
54
59
\
55
60
&& find /usr/local -depth \
56
61
\( \
You can’t perform that action at this time.
0 commit comments