File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
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 @@ -160,8 +160,7 @@ for version in "${versions[@]}"; do
160
160
161
161
# Libraries to build the nis module available in Alpine 3.7, but also require this patch:
162
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
163
+ if [[ " $variant " == alpine* ]] && [[ " $variant " != alpine3.7 ]]; then
165
164
sed -ri -e ' /libnsl-dev/d' -e ' /libtirpc-dev/d' " $dir /Dockerfile"
166
165
fi
167
166
You can’t perform that action at this time.
0 commit comments