Add vpn-slice support

This commit is contained in:
Wolfgang Klinger 2019-10-19 13:04:46 +02:00
parent 46e2544936
commit 93e6ce3f1c

View File

@ -17,6 +17,11 @@ RUN apk add --no-cache ca-certificates wget \
&& cd microsocks-1.0.1 \
&& make \
&& make install \
# add vpn-slice with dependencies (dig) https://github.com/dlenski/vpn-slice
&& apk add --no-cache python3 bind-tools && pip3 install --upgrade pip \
&& pip3 install https://github.com/dlenski/vpn-slice/archive/master.zip \
# always add the docker DNS server
&& grep -qxF 'nameserver 127.0.0.11' /etc/resolv.conf || echo 'nameserver 127.0.0.11' >> /etc/resolv.conf \
&& apk del .build-deps wget
# Use an up-to-date version of vpnc-script