From f4352f795c249304fcbc12612fa4b7c436fcf00b Mon Sep 17 00:00:00 2001 From: Zi Guang <bensong.lbs@alibaba-inc.com> Date: Thu, 8 Aug 2019 15:28:40 +0800 Subject: [PATCH] release v0.1b --- Dockerfile | 7 +++---- README.md | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 README.md diff --git a/Dockerfile b/Dockerfile index 999d762..3d738ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,12 +10,11 @@ COPY sources.list /etc/apt/sources.list RUN apt update && add-apt-repository ppa:mark-pcnetspec/gksu && apt update RUN apt update ; apt install -y libssl1.0.0 wget qt4-default libqtwebkit-dev gksu # shadowsocks -ARG url_alilang=http://1.ali.recolic.org:25580/alilang.deb -ARG url_delegate=http://1.ali.recolic.org:25580/linux2.6-dg9_9_13.tar.gz +COPY pkgs/alilang.deb / +COPY pkgs/linux2.6-dg9_9_13.tar.gz / WORKDIR / -RUN wget "${url_alilang}" -O alilang.deb && wget "${url_delegate}" -O linux2.6-dg9_9_13.tar.gz && \ - apt install -y ./alilang.deb && tar xvzf linux2.6-dg9_9_13.tar.gz && \ +RUN apt install -y ./alilang.deb && tar xvzf linux2.6-dg9_9_13.tar.gz && \ rm alilang.deb linux2.6-dg9_9_13.tar.gz COPY entry_r.sh /entry_r.sh diff --git a/README.md b/README.md new file mode 100644 index 0000000..107b6ab --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# Alilang in docker + +## Usage + +1. Run the image. + +``` +docker build -t recolic/alilang -f Dockerfile . +docker run -tid -p 25568:80 -p 25569:1080 -v /dev/shm:/dev/shm recolic/alilang +``` + +2. Visit http://localhost:25568 and launch alilang. You may just launch a terminal and type `alilang`. +Login and enable the VPN. + +3. Use localhost:25569 as socks5 proxy server. + +4. Enjoy! + -- GitLab