File tree Expand file tree Collapse file tree 8 files changed +17
-1
lines changed Expand file tree Collapse file tree 8 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ RUN set -ex \
59
59
tcl-dev \
60
60
tk \
61
61
tk-dev \
62
+ util-linux-dev \
62
63
xz-dev \
63
64
zlib-dev \
64
65
# add build deps before removing fetch deps in case there's overlap
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ RUN set -ex \
59
59
tcl-dev \
60
60
tk \
61
61
tk-dev \
62
+ util-linux-dev \
62
63
xz-dev \
63
64
zlib-dev \
64
65
# add build deps before removing fetch deps in case there's overlap
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ ENV LANG C.UTF-8
16
16
# extra dependencies (over what buildpack-deps already includes)
17
17
RUN apt-get update && apt-get install -y --no-install-recommends \
18
18
tk-dev \
19
+ uuid-dev \
19
20
&& rm -rf /var/lib/apt/lists/*
20
21
21
22
ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ RUN set -ex \
40
40
libssl-dev \
41
41
make \
42
42
tk-dev \
43
+ uuid-dev \
43
44
wget \
44
45
xz-utils \
45
46
zlib1g-dev \
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ RUN set -ex \
55
55
tcl-dev \
56
56
tk \
57
57
tk-dev \
58
+ util-linux-dev \
58
59
xz-dev \
59
60
zlib-dev \
60
61
# add build deps before removing fetch deps in case there's overlap
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
12
12
# Python 3.4 on Stretch+ needs to use an older version of "libssl-dev" (these lines both get removed for every other combination)
13
13
libssl-dev \
14
14
tk-dev \
15
+ uuid-dev \
15
16
&& rm -rf /var/lib/apt/lists/*
16
17
17
18
ENV GPG_KEY %%PLACEHOLDER%%
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ RUN set -ex \
34
34
libssl-dev \
35
35
make \
36
36
tk-dev \
37
+ uuid-dev \
37
38
wget \
38
39
xz-utils \
39
40
zlib1g-dev \
Original file line number Diff line number Diff line change @@ -174,9 +174,18 @@ for version in "${versions[@]}"; do
174
174
;;& # (3.5* /alpine* needs to match the next block too)
175
175
# Libraries to build the nis module only available in Alpine 3.7+.
176
176
# Also require this patch https://bugs.python.org/issue32521 only available in Python 2.7, 3.6+.
177
- 3.4 * /alpine * | 3.5 * /alpine* | * /alpine3.6)
177
+ 3.[4-5] * /alpine* | * /alpine3.6)
178
178
sed -ri -e ' /libnsl-dev/d' -e ' /libtirpc-dev/d' " $dir /Dockerfile"
179
+ ;;& # (3.4* /alpine* and 3.5* /alpine* need to match the next block too)
180
+ # https://bugs.python.org/issue11063, https://bugs.python.org/issue20519 (Python 3.7.0+)
181
+ # A new native _uuid module improves uuid import time and avoids using ctypes.
182
+ # This requires the development libuuid headers.
183
+ 3.[4-6]* /alpine* )
184
+ sed -ri -e ' /util-linux-dev/d' " $dir /Dockerfile"
179
185
;;
186
+ 3.[4-6]* )
187
+ sed -ri -e ' /uuid-dev/d' " $dir /Dockerfile"
188
+ ;;& # (other Debian variants need to match later blocks)
180
189
3.4/stretch* )
181
190
sed -ri -e ' s/libssl-dev/libssl1.0-dev/g' " $dir /Dockerfile"
182
191
;;
You can’t perform that action at this time.
0 commit comments