From 93e6ce3f1c5113f0bc09fe2c1befad3f9c58961b Mon Sep 17 00:00:00 2001 From: Wolfgang Klinger Date: Sat, 19 Oct 2019 13:04:46 +0200 Subject: [PATCH] Add vpn-slice support --- build/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/Dockerfile b/build/Dockerfile index e85b1df..1343d19 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -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