Skip to content

Commit 0e5341b

Browse files
committed
Swap to OpenSSL for 3.7 Alpine images
1 parent 2f73f58 commit 0e5341b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

update.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ for version in "${versions[@]}"; do
152152
wheezy) sed -ri -e 's/dpkg-architecture --query /dpkg-architecture -q/g' "$dir/Dockerfile" ;;
153153
esac
154154

155+
# https://bugs.python.org/issue32598 (Python 3.7.0b1+)
156+
# TL;DR: Python 3.7+ uses OpenSSL functionality which LibreSSL doesn't implement (yet?)
157+
if [[ "$version" == 3.7* ]] && [[ "$variant" == alpine* ]]; then
158+
sed -ri -e 's/libressl/openssl/g' "$dir/Dockerfile"
159+
fi
160+
155161
case "$v" in
156162
wheezy/slim|jessie/slim)
157163
sed -ri \

0 commit comments

Comments
 (0)