File tree 1 file changed +5
-1
lines changed 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -172,11 +172,13 @@ for version in "${versions[@]}"; do
172
172
3.7* /alpine3.7 | 3.5* /alpine3.8)
173
173
sed -ri -e ' s/libressl-dev/openssl-dev/g' " $dir /Dockerfile"
174
174
;;& # (3.5* /alpine* needs to match the next block too)
175
+
175
176
# Libraries to build the nis module only available in Alpine 3.7+.
176
177
# Also require this patch https://bugs.python.org/issue32521 only available in Python 2.7, 3.6+.
177
178
3.[4-5]* /alpine* | * /alpine3.6)
178
179
sed -ri -e ' /libnsl-dev/d' -e ' /libtirpc-dev/d' " $dir /Dockerfile"
179
180
;;& # (3.4* /alpine* and 3.5* /alpine* need to match the next block too)
181
+
180
182
# https://bugs.python.org/issue11063, https://bugs.python.org/issue20519 (Python 3.7.0+)
181
183
# A new native _uuid module improves uuid import time and avoids using ctypes.
182
184
# This requires the development libuuid headers.
@@ -186,11 +188,13 @@ for version in "${versions[@]}"; do
186
188
3.[4-6]* )
187
189
sed -ri -e ' /uuid-dev/d' " $dir /Dockerfile"
188
190
;;& # (other Debian variants need to match later blocks)
191
+
189
192
3.4/stretch* )
193
+ # older Python needs older OpenSSL
190
194
sed -ri -e ' s/libssl-dev/libssl1.0-dev/g' " $dir /Dockerfile"
191
195
;;
192
- * /slim) ;;
193
196
* /stretch | * /jessie | * /wheezy)
197
+ # buildpack-deps already includes libssl-dev
194
198
sed -ri -e ' /libssl-dev/d' " $dir /Dockerfile"
195
199
;;
196
200
esac
You can’t perform that action at this time.
0 commit comments