File tree 3 files changed +4
-7
lines changed 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,8 @@ RUN set -ex \
46
46
gdbm-dev \
47
47
libc-dev \
48
48
libffi-dev \
49
- libnsl-dev \
50
49
libressl \
51
50
libressl-dev \
52
- libtirpc-dev \
53
51
linux-headers \
54
52
make \
55
53
ncurses-dev \
Original file line number Diff line number Diff line change @@ -46,10 +46,8 @@ RUN set -ex \
46
46
gdbm-dev \
47
47
libc-dev \
48
48
libffi-dev \
49
- libnsl-dev \
50
49
libressl \
51
50
libressl-dev \
52
- libtirpc-dev \
53
51
linux-headers \
54
52
make \
55
53
ncurses-dev \
Original file line number Diff line number Diff line change @@ -159,9 +159,10 @@ for version in "${versions[@]}"; do
159
159
sed -ri -e ' s/libressl/openssl/g' " $dir /Dockerfile"
160
160
fi
161
161
162
- # Libraries to build the nis module available in Alpine 3.7, but also require this patch:
163
- # https://bugs.python.org/issue32521
164
- if [[ " $variant " == alpine* ]] && [[ " $variant " != alpine3.7 ]]; then
162
+ # Libraries to build the nis module only available in Alpine 3.7+.
163
+ # Also require this patch https://bugs.python.org/issue32521 only available in Python 2.7, 3.6+.
164
+ if [[ " $variant " == alpine* ]] && [[ " $version " == 3.4* || " $version " == 3.5* ]] \
165
+ || [[ " $variant " == alpine3.6 ]]; then
165
166
sed -ri -e ' /libnsl-dev/d' -e ' /libtirpc-dev/d' " $dir /Dockerfile"
166
167
fi
167
168
You can’t perform that action at this time.
0 commit comments