Skip to content

Commit a1254c8

Browse files
committed
Fix "get-pip.py" URLs
1 parent 754afa8 commit a1254c8

File tree

31 files changed

+32
-32
lines changed

31 files changed

+32
-32
lines changed

3.10-rc/alpine3.12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ RUN cd /usr/local/bin \
116116
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
117117
ENV PYTHON_PIP_VERSION 21.0.1
118118
# https://github.com/pypa/get-pip
119-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
119+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
120120
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
121121

122122
RUN set -ex; \

3.10-rc/alpine3.13/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ RUN cd /usr/local/bin \
116116
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
117117
ENV PYTHON_PIP_VERSION 21.0.1
118118
# https://github.com/pypa/get-pip
119-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
119+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
120120
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
121121

122122
RUN set -ex; \

3.10-rc/buster/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ RUN cd /usr/local/bin \
7171
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
7272
ENV PYTHON_PIP_VERSION 21.0.1
7373
# https://github.com/pypa/get-pip
74-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
74+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
7575
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
7676

7777
RUN set -ex; \

3.10-rc/buster/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ RUN cd /usr/local/bin \
111111
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
112112
ENV PYTHON_PIP_VERSION 21.0.1
113113
# https://github.com/pypa/get-pip
114-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
114+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
115115
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
116116

117117
RUN set -ex; \

3.10-rc/windows/windowsservercore-1809/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env
4747
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
4848
ENV PYTHON_PIP_VERSION 21.0.1
4949
# https://github.com/pypa/get-pip
50-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
50+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
5151
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
5252

5353
RUN Write-Host ('Downloading get-pip.py ({0}) ...' -f $env:PYTHON_GET_PIP_URL); \

3.10-rc/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env
4747
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
4848
ENV PYTHON_PIP_VERSION 21.0.1
4949
# https://github.com/pypa/get-pip
50-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
50+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
5151
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
5252

5353
RUN Write-Host ('Downloading get-pip.py ({0}) ...' -f $env:PYTHON_GET_PIP_URL); \

3.6/alpine3.12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ RUN cd /usr/local/bin \
150150
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
151151
ENV PYTHON_PIP_VERSION 21.0.1
152152
# https://github.com/pypa/get-pip
153-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
153+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
154154
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
155155

156156
RUN set -ex; \

3.6/alpine3.13/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ RUN cd /usr/local/bin \
150150
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
151151
ENV PYTHON_PIP_VERSION 21.0.1
152152
# https://github.com/pypa/get-pip
153-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
153+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
154154
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
155155

156156
RUN set -ex; \

3.6/buster/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ RUN cd /usr/local/bin \
107107
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
108108
ENV PYTHON_PIP_VERSION 21.0.1
109109
# https://github.com/pypa/get-pip
110-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
110+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
111111
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
112112

113113
RUN set -ex; \

3.6/buster/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ RUN cd /usr/local/bin \
146146
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
147147
ENV PYTHON_PIP_VERSION 21.0.1
148148
# https://github.com/pypa/get-pip
149-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
149+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
150150
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
151151

152152
RUN set -ex; \

3.6/stretch/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ RUN cd /usr/local/bin \
107107
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
108108
ENV PYTHON_PIP_VERSION 21.0.1
109109
# https://github.com/pypa/get-pip
110-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
110+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
111111
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
112112

113113
RUN set -ex; \

3.6/stretch/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ RUN cd /usr/local/bin \
146146
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
147147
ENV PYTHON_PIP_VERSION 21.0.1
148148
# https://github.com/pypa/get-pip
149-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
149+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
150150
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
151151

152152
RUN set -ex; \

3.7/alpine3.12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ RUN cd /usr/local/bin \
151151
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
152152
ENV PYTHON_PIP_VERSION 21.0.1
153153
# https://github.com/pypa/get-pip
154-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
154+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
155155
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
156156

157157
RUN set -ex; \

3.7/alpine3.13/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ RUN cd /usr/local/bin \
151151
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
152152
ENV PYTHON_PIP_VERSION 21.0.1
153153
# https://github.com/pypa/get-pip
154-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
154+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
155155
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
156156

157157
RUN set -ex; \

3.7/buster/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ RUN cd /usr/local/bin \
108108
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
109109
ENV PYTHON_PIP_VERSION 21.0.1
110110
# https://github.com/pypa/get-pip
111-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
111+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
112112
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
113113

114114
RUN set -ex; \

3.7/buster/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ RUN cd /usr/local/bin \
147147
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
148148
ENV PYTHON_PIP_VERSION 21.0.1
149149
# https://github.com/pypa/get-pip
150-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
150+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
151151
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
152152

153153
RUN set -ex; \

3.7/stretch/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ RUN cd /usr/local/bin \
108108
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
109109
ENV PYTHON_PIP_VERSION 21.0.1
110110
# https://github.com/pypa/get-pip
111-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
111+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
112112
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
113113

114114
RUN set -ex; \

3.7/stretch/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ RUN cd /usr/local/bin \
147147
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
148148
ENV PYTHON_PIP_VERSION 21.0.1
149149
# https://github.com/pypa/get-pip
150-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
150+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
151151
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
152152

153153
RUN set -ex; \

3.8/alpine3.12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ RUN cd /usr/local/bin \
115115
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
116116
ENV PYTHON_PIP_VERSION 21.0.1
117117
# https://github.com/pypa/get-pip
118-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
118+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
119119
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
120120

121121
RUN set -ex; \

3.8/alpine3.13/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ RUN cd /usr/local/bin \
115115
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
116116
ENV PYTHON_PIP_VERSION 21.0.1
117117
# https://github.com/pypa/get-pip
118-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
118+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
119119
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
120120

121121
RUN set -ex; \

3.8/buster/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ RUN cd /usr/local/bin \
7272
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
7373
ENV PYTHON_PIP_VERSION 21.0.1
7474
# https://github.com/pypa/get-pip
75-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
75+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
7676
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
7777

7878
RUN set -ex; \

3.8/buster/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ RUN cd /usr/local/bin \
111111
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
112112
ENV PYTHON_PIP_VERSION 21.0.1
113113
# https://github.com/pypa/get-pip
114-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
114+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
115115
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
116116

117117
RUN set -ex; \

3.8/windows/windowsservercore-1809/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env
4747
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
4848
ENV PYTHON_PIP_VERSION 21.0.1
4949
# https://github.com/pypa/get-pip
50-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
50+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
5151
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
5252

5353
RUN Write-Host ('Downloading get-pip.py ({0}) ...' -f $env:PYTHON_GET_PIP_URL); \

3.8/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env
4747
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
4848
ENV PYTHON_PIP_VERSION 21.0.1
4949
# https://github.com/pypa/get-pip
50-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
50+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
5151
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
5252

5353
RUN Write-Host ('Downloading get-pip.py ({0}) ...' -f $env:PYTHON_GET_PIP_URL); \

3.9/alpine3.12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ RUN cd /usr/local/bin \
116116
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
117117
ENV PYTHON_PIP_VERSION 21.0.1
118118
# https://github.com/pypa/get-pip
119-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
119+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
120120
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
121121

122122
RUN set -ex; \

3.9/alpine3.13/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ RUN cd /usr/local/bin \
116116
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
117117
ENV PYTHON_PIP_VERSION 21.0.1
118118
# https://github.com/pypa/get-pip
119-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
119+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
120120
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
121121

122122
RUN set -ex; \

3.9/buster/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ RUN cd /usr/local/bin \
7171
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
7272
ENV PYTHON_PIP_VERSION 21.0.1
7373
# https://github.com/pypa/get-pip
74-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
74+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
7575
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
7676

7777
RUN set -ex; \

3.9/buster/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ RUN cd /usr/local/bin \
111111
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
112112
ENV PYTHON_PIP_VERSION 21.0.1
113113
# https://github.com/pypa/get-pip
114-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
114+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
115115
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
116116

117117
RUN set -ex; \

3.9/windows/windowsservercore-1809/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env
4747
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
4848
ENV PYTHON_PIP_VERSION 21.0.1
4949
# https://github.com/pypa/get-pip
50-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
50+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
5151
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
5252

5353
RUN Write-Host ('Downloading get-pip.py ({0}) ...' -f $env:PYTHON_GET_PIP_URL); \

3.9/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env
4747
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
4848
ENV PYTHON_PIP_VERSION 21.0.1
4949
# https://github.com/pypa/get-pip
50-
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/995d444992043a370e1c725a55a7518aabf3141d/get-pip.py
50+
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/29f37dbe6b3842ccd52d61816a3044173962ebeb/public/get-pip.py
5151
ENV PYTHON_GET_PIP_SHA256 e03eb8a33d3b441ff484c56a436ff10680479d4bd14e59268e67977ed40904de
5252

5353
RUN Write-Host ('Downloading get-pip.py ({0}) ...' -f $env:PYTHON_GET_PIP_URL); \

update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ fi
3434
versions=( "${versions[@]%/}" )
3535

3636
pipVersion="$(curl -fsSL 'https://pypi.org/pypi/pip/json' | jq -r .info.version)"
37-
getPipCommit="$(curl -fsSL 'https://github.com/pypa/get-pip/commits/main/get-pip.py.atom' | tac|tac | awk -F '[[:space:]]*[<>/]+' '$2 == "id" && $3 ~ /Commit/ { print $4; exit }')"
38-
getPipUrl="https://github.com/pypa/get-pip/raw/$getPipCommit/get-pip.py"
37+
getPipCommit="$(curl -fsSL 'https://github.com/pypa/get-pip/commits/main/public/get-pip.py.atom' | tac|tac | awk -F '[[:space:]]*[<>/]+' '$2 == "id" && $3 ~ /Commit/ { print $4; exit }')"
38+
getPipUrl="https://github.com/pypa/get-pip/raw/$getPipCommit/public/get-pip.py"
3939
getPipSha256="$(curl -fsSL "$getPipUrl" | sha256sum | cut -d' ' -f1)"
4040

4141
generated_warning() {

0 commit comments

Comments
 (0)