File tree 14 files changed +32
-116
lines changed
14 files changed +32
-116
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,15 @@ ENV LANG C.UTF-8
9
9
# https://github.com/docker-library/python/issues/147
10
10
ENV PYTHONIOENCODING UTF-8
11
11
12
- # install ca-certificates so that HTTPS works consistently
13
- # the other runtime dependencies for Python are installed later
14
- RUN apk add --no-cache ca-certificates
12
+ # install libressl so that HTTPS works on Alpine <3.7
13
+ RUN apk add --no-cache libressl
15
14
16
15
ENV GPG_KEY C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF
17
16
ENV PYTHON_VERSION 2.7.15
18
17
19
18
RUN set -ex \
20
19
&& apk add --no-cache --virtual .fetch-deps \
21
20
gnupg \
22
- libressl \
23
21
tar \
24
22
xz \
25
23
\
@@ -41,7 +39,6 @@ RUN set -ex \
41
39
gcc \
42
40
gdbm-dev \
43
41
libc-dev \
44
- libressl \
45
42
libressl-dev \
46
43
linux-headers \
47
44
make \
@@ -89,13 +86,9 @@ RUN set -ex \
89
86
ENV PYTHON_PIP_VERSION 10.0.1
90
87
91
88
RUN set -ex; \
92
- \
93
- apk add --no-cache --virtual .fetch-deps libressl; \
94
89
\
95
90
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py' ; \
96
91
\
97
- apk del .fetch-deps; \
98
- \
99
92
python get-pip.py \
100
93
--disable-pip-version-check \
101
94
--no-cache-dir \
Original file line number Diff line number Diff line change @@ -9,17 +9,15 @@ ENV LANG C.UTF-8
9
9
# https://github.com/docker-library/python/issues/147
10
10
ENV PYTHONIOENCODING UTF-8
11
11
12
- # install ca-certificates so that HTTPS works consistently
13
- # the other runtime dependencies for Python are installed later
14
- RUN apk add --no-cache ca-certificates
12
+ # install libressl so that HTTPS works on Alpine <3.7
13
+ # RUN apk add --no-cache libressl
15
14
16
15
ENV GPG_KEY C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF
17
16
ENV PYTHON_VERSION 2.7.15
18
17
19
18
RUN set -ex \
20
19
&& apk add --no-cache --virtual .fetch-deps \
21
20
gnupg \
22
- libressl \
23
21
tar \
24
22
xz \
25
23
\
@@ -91,13 +89,9 @@ RUN set -ex \
91
89
ENV PYTHON_PIP_VERSION 10.0.1
92
90
93
91
RUN set -ex; \
94
- \
95
- apk add --no-cache --virtual .fetch-deps libressl; \
96
92
\
97
93
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py' ; \
98
94
\
99
- apk del .fetch-deps; \
100
- \
101
95
python get-pip.py \
102
96
--disable-pip-version-check \
103
97
--no-cache-dir \
Original file line number Diff line number Diff line change @@ -9,17 +9,15 @@ ENV LANG C.UTF-8
9
9
# https://github.com/docker-library/python/issues/147
10
10
ENV PYTHONIOENCODING UTF-8
11
11
12
- # install ca-certificates so that HTTPS works consistently
13
- # the other runtime dependencies for Python are installed later
14
- RUN apk add --no-cache ca-certificates
12
+ # install libressl so that HTTPS works on Alpine <3.7
13
+ # RUN apk add --no-cache libressl
15
14
16
15
ENV GPG_KEY C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF
17
16
ENV PYTHON_VERSION 2.7.15
18
17
19
18
RUN set -ex \
20
19
&& apk add --no-cache --virtual .fetch-deps \
21
20
gnupg \
22
- libressl \
23
21
tar \
24
22
xz \
25
23
\
@@ -91,13 +89,9 @@ RUN set -ex \
91
89
ENV PYTHON_PIP_VERSION 10.0.1
92
90
93
91
RUN set -ex; \
94
- \
95
- apk add --no-cache --virtual .fetch-deps libressl; \
96
92
\
97
93
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py' ; \
98
94
\
99
- apk del .fetch-deps; \
100
- \
101
95
python get-pip.py \
102
96
--disable-pip-version-check \
103
97
--no-cache-dir \
Original file line number Diff line number Diff line change @@ -13,17 +13,15 @@ ENV PATH /usr/local/bin:$PATH
13
13
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
14
14
ENV LANG C.UTF-8
15
15
16
- # install ca-certificates so that HTTPS works consistently
17
- # the other runtime dependencies for Python are installed later
18
- RUN apk add --no-cache ca-certificates
16
+ # install libressl so that HTTPS works on Alpine <3.7
17
+ # RUN apk add --no-cache libressl
19
18
20
19
ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
21
20
ENV PYTHON_VERSION 3.4.8
22
21
23
22
RUN set -ex \
24
23
&& apk add --no-cache --virtual .fetch-deps \
25
24
gnupg \
26
- libressl \
27
25
tar \
28
26
xz \
29
27
\
@@ -48,7 +46,6 @@ RUN set -ex \
48
46
gdbm-dev \
49
47
libc-dev \
50
48
libffi-dev \
51
- libressl \
52
49
libressl-dev \
53
50
linux-headers \
54
51
make \
@@ -107,13 +104,9 @@ RUN cd /usr/local/bin \
107
104
ENV PYTHON_PIP_VERSION 10.0.1
108
105
109
106
RUN set -ex; \
110
- \
111
- apk add --no-cache --virtual .fetch-deps libressl; \
112
107
\
113
108
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py' ; \
114
109
\
115
- apk del .fetch-deps; \
116
- \
117
110
python get-pip.py \
118
111
--disable-pip-version-check \
119
112
--no-cache-dir \
Original file line number Diff line number Diff line change @@ -13,17 +13,15 @@ ENV PATH /usr/local/bin:$PATH
13
13
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
14
14
ENV LANG C.UTF-8
15
15
16
- # install ca-certificates so that HTTPS works consistently
17
- # the other runtime dependencies for Python are installed later
18
- RUN apk add --no-cache ca-certificates
16
+ # install libressl so that HTTPS works on Alpine <3.7
17
+ # RUN apk add --no-cache libressl
19
18
20
19
ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
21
20
ENV PYTHON_VERSION 3.4.8
22
21
23
22
RUN set -ex \
24
23
&& apk add --no-cache --virtual .fetch-deps \
25
24
gnupg \
26
- libressl \
27
25
tar \
28
26
xz \
29
27
\
@@ -48,7 +46,6 @@ RUN set -ex \
48
46
gdbm-dev \
49
47
libc-dev \
50
48
libffi-dev \
51
- libressl \
52
49
libressl-dev \
53
50
linux-headers \
54
51
make \
@@ -107,13 +104,9 @@ RUN cd /usr/local/bin \
107
104
ENV PYTHON_PIP_VERSION 10.0.1
108
105
109
106
RUN set -ex; \
110
- \
111
- apk add --no-cache --virtual .fetch-deps libressl; \
112
107
\
113
108
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py' ; \
114
109
\
115
- apk del .fetch-deps; \
116
- \
117
110
python get-pip.py \
118
111
--disable-pip-version-check \
119
112
--no-cache-dir \
Original file line number Diff line number Diff line change @@ -13,17 +13,15 @@ ENV PATH /usr/local/bin:$PATH
13
13
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
14
14
ENV LANG C.UTF-8
15
15
16
- # install ca-certificates so that HTTPS works consistently
17
- # the other runtime dependencies for Python are installed later
18
- RUN apk add --no-cache ca-certificates
16
+ # install libressl so that HTTPS works on Alpine <3.7
17
+ # RUN apk add --no-cache libressl
19
18
20
19
ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
21
20
ENV PYTHON_VERSION 3.5.5
22
21
23
22
RUN set -ex \
24
23
&& apk add --no-cache --virtual .fetch-deps \
25
24
gnupg \
26
- libressl \
27
25
tar \
28
26
xz \
29
27
\
@@ -48,7 +46,6 @@ RUN set -ex \
48
46
gdbm-dev \
49
47
libc-dev \
50
48
libffi-dev \
51
- libressl \
52
49
libressl-dev \
53
50
linux-headers \
54
51
make \
@@ -107,13 +104,9 @@ RUN cd /usr/local/bin \
107
104
ENV PYTHON_PIP_VERSION 10.0.1
108
105
109
106
RUN set -ex; \
110
- \
111
- apk add --no-cache --virtual .fetch-deps libressl; \
112
107
\
113
108
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py' ; \
114
109
\
115
- apk del .fetch-deps; \
116
- \
117
110
python get-pip.py \
118
111
--disable-pip-version-check \
119
112
--no-cache-dir \
Original file line number Diff line number Diff line change @@ -13,17 +13,15 @@ ENV PATH /usr/local/bin:$PATH
13
13
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
14
14
ENV LANG C.UTF-8
15
15
16
- # install ca-certificates so that HTTPS works consistently
17
- # the other runtime dependencies for Python are installed later
18
- RUN apk add --no-cache ca-certificates
16
+ # install libressl so that HTTPS works on Alpine <3.7
17
+ # RUN apk add --no-cache libressl
19
18
20
19
ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
21
20
ENV PYTHON_VERSION 3.5.5
22
21
23
22
RUN set -ex \
24
23
&& apk add --no-cache --virtual .fetch-deps \
25
24
gnupg \
26
- openssl \
27
25
tar \
28
26
xz \
29
27
\
@@ -48,7 +46,6 @@ RUN set -ex \
48
46
gdbm-dev \
49
47
libc-dev \
50
48
libffi-dev \
51
- openssl \
52
49
openssl-dev \
53
50
linux-headers \
54
51
make \
@@ -107,13 +104,9 @@ RUN cd /usr/local/bin \
107
104
ENV PYTHON_PIP_VERSION 10.0.1
108
105
109
106
RUN set -ex; \
110
- \
111
- apk add --no-cache --virtual .fetch-deps openssl; \
112
107
\
113
108
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py' ; \
114
109
\
115
- apk del .fetch-deps; \
116
- \
117
110
python get-pip.py \
118
111
--disable-pip-version-check \
119
112
--no-cache-dir \
Original file line number Diff line number Diff line change @@ -13,17 +13,15 @@ ENV PATH /usr/local/bin:$PATH
13
13
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
14
14
ENV LANG C.UTF-8
15
15
16
- # install ca-certificates so that HTTPS works consistently
17
- # the other runtime dependencies for Python are installed later
18
- RUN apk add --no-cache ca-certificates
16
+ # install libressl so that HTTPS works on Alpine <3.7
17
+ RUN apk add --no-cache libressl
19
18
20
19
ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
21
20
ENV PYTHON_VERSION 3.6.6
22
21
23
22
RUN set -ex \
24
23
&& apk add --no-cache --virtual .fetch-deps \
25
24
gnupg \
26
- libressl \
27
25
tar \
28
26
xz \
29
27
\
@@ -48,7 +46,6 @@ RUN set -ex \
48
46
gdbm-dev \
49
47
libc-dev \
50
48
libffi-dev \
51
- libressl \
52
49
libressl-dev \
53
50
linux-headers \
54
51
make \
@@ -107,13 +104,9 @@ RUN cd /usr/local/bin \
107
104
ENV PYTHON_PIP_VERSION 10.0.1
108
105
109
106
RUN set -ex; \
110
- \
111
- apk add --no-cache --virtual .fetch-deps libressl; \
112
107
\
113
108
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py' ; \
114
109
\
115
- apk del .fetch-deps; \
116
- \
117
110
python get-pip.py \
118
111
--disable-pip-version-check \
119
112
--no-cache-dir \
Original file line number Diff line number Diff line change @@ -13,17 +13,15 @@ ENV PATH /usr/local/bin:$PATH
13
13
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
14
14
ENV LANG C.UTF-8
15
15
16
- # install ca-certificates so that HTTPS works consistently
17
- # the other runtime dependencies for Python are installed later
18
- RUN apk add --no-cache ca-certificates
16
+ # install libressl so that HTTPS works on Alpine <3.7
17
+ # RUN apk add --no-cache libressl
19
18
20
19
ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
21
20
ENV PYTHON_VERSION 3.6.6
22
21
23
22
RUN set -ex \
24
23
&& apk add --no-cache --virtual .fetch-deps \
25
24
gnupg \
26
- libressl \
27
25
tar \
28
26
xz \
29
27
\
@@ -49,7 +47,6 @@ RUN set -ex \
49
47
libc-dev \
50
48
libffi-dev \
51
49
libnsl-dev \
52
- libressl \
53
50
libressl-dev \
54
51
libtirpc-dev \
55
52
linux-headers \
@@ -109,13 +106,9 @@ RUN cd /usr/local/bin \
109
106
ENV PYTHON_PIP_VERSION 10.0.1
110
107
111
108
RUN set -ex; \
112
- \
113
- apk add --no-cache --virtual .fetch-deps libressl; \
114
109
\
115
110
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py' ; \
116
111
\
117
- apk del .fetch-deps; \
118
- \
119
112
python get-pip.py \
120
113
--disable-pip-version-check \
121
114
--no-cache-dir \
You can’t perform that action at this time.
0 commit comments