Add vpn-slice support
This commit is contained in:
parent
46e2544936
commit
93e6ce3f1c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user