File tree Expand file tree Collapse file tree 3 files changed +24
-6
lines changed Expand file tree Collapse file tree 3 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,16 @@ ENV LANG C.UTF-8
9
9
10
10
ENV PYTHON_VERSION 2.7.9
11
11
12
+ # gpg: key 18ADD4FF: public key "Benjamin Peterson <benjamin@python.org>" imported
13
+ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF
14
+
12
15
RUN set -x \
13
16
&& mkdir -p /usr/src/python \
14
- && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" \
15
- | tar -xJC /usr/src/python --strip-components=1 \
17
+ && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
18
+ && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
19
+ && gpg --verify python.tar.xz.asc \
20
+ && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
21
+ && rm python.tar.xz* \
16
22
&& cd /usr/src/python \
17
23
&& ./configure --enable-shared \
18
24
&& make -j$(nproc) \
Original file line number Diff line number Diff line change @@ -9,10 +9,16 @@ ENV LANG C.UTF-8
9
9
10
10
ENV PYTHON_VERSION 3.3.6
11
11
12
+ # gpg: key 36580288: public key "Georg Brandl (Python release signing key) <georg@python.org>" imported
13
+ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys 26DEA9D4613391EF3E25C9FF0A5B101836580288
14
+
12
15
RUN set -x \
13
16
&& mkdir -p /usr/src/python \
14
- && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" \
15
- | tar -xJC /usr/src/python --strip-components=1 \
17
+ && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
18
+ && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
19
+ && gpg --verify python.tar.xz.asc \
20
+ && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
21
+ && rm python.tar.xz* \
16
22
&& cd /usr/src/python \
17
23
&& ./configure --enable-shared \
18
24
&& make -j$(nproc) \
Original file line number Diff line number Diff line change @@ -9,10 +9,16 @@ ENV LANG C.UTF-8
9
9
10
10
ENV PYTHON_VERSION 3.4.2
11
11
12
+ # gpg: key F73C700D: public key "Larry Hastings <larry@hastings.org>" imported
13
+ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
14
+
12
15
RUN set -x \
13
16
&& mkdir -p /usr/src/python \
14
- && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" \
15
- | tar -xJC /usr/src/python --strip-components=1 \
17
+ && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
18
+ && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
19
+ && gpg --verify python.tar.xz.asc \
20
+ && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
21
+ && rm python.tar.xz* \
16
22
&& cd /usr/src/python \
17
23
&& ./configure --enable-shared \
18
24
&& make -j$(nproc) \
You can’t perform that action at this time.
0 commit comments