File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ RUN set -ex \
46
46
gdbm-dev \
47
47
libc-dev \
48
48
libffi-dev \
49
+ libnsl-dev \
50
+ libtirpc-dev \
49
51
linux-headers \
50
52
make \
51
53
ncurses-dev \
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ RUN set -ex \
40
40
gdbm-dev \
41
41
libc-dev \
42
42
libffi-dev \
43
+ libnsl-dev \
44
+ libtirpc-dev \
43
45
linux-headers \
44
46
make \
45
47
ncurses-dev \
Original file line number Diff line number Diff line change @@ -158,6 +158,13 @@ for version in "${versions[@]}"; do
158
158
sed -ri -e ' s/libressl/openssl/g' " $dir /Dockerfile"
159
159
fi
160
160
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
+
161
168
case " $v " in
162
169
wheezy/slim|jessie/slim)
163
170
sed -ri \
You can’t perform that action at this time.
0 commit comments