File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ RUN set -ex \
4646 gdbm-dev \
4747 libc-dev \
4848 libffi-dev \
49+ libnsl-dev \
50+ libtirpc-dev \
4951 linux-headers \
5052 make \
5153 ncurses-dev \
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ RUN set -ex \
4040 gdbm-dev \
4141 libc-dev \
4242 libffi-dev \
43+ libnsl-dev \
44+ libtirpc-dev \
4345 linux-headers \
4446 make \
4547 ncurses-dev \
Original file line number Diff line number Diff line change @@ -158,6 +158,13 @@ for version in "${versions[@]}"; do
158158 sed -ri -e ' s/libressl/openssl/g' " $dir /Dockerfile"
159159 fi
160160
161+ # Libraries to build the nis module available in Alpine 3.7, but also require this patch:
162+ # https://bugs.python.org/issue32521
163+ # TODO: Remove Python version check once 2.7 and 3.6 have the patch
164+ if [[ " $variant " == alpine* ]] && [[ " $variant " != alpine3.7 || " $version " != 3.7* ]]; then
165+ sed -ri -e ' /libnsl-dev/d' -e ' /libtirpc-dev/d' " $dir /Dockerfile"
166+ fi
167+
161168 case " $v " in
162169 wheezy/slim|jessie/slim)
163170 sed -ri \
You can’t perform that action at this time.
0 commit comments