Update Dockerfile
build shadowsocks from code
This commit is contained in:
parent
59dc0a79d7
commit
c48574669f
1 changed files with 5 additions and 2 deletions
|
@ -10,5 +10,8 @@ VOLUME ["/etc/shadowsocks.json"]
|
||||||
CMD ssserver -p $PORT -c $CONF
|
CMD ssserver -p $PORT -c $CONF
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y python-pip
|
RUN apt-get install -y git-core python python-setuptools
|
||||||
RUN pip install shadowsocks
|
RUN git clone https://github.com/shadowsocks/shadowsocks.git
|
||||||
|
RUN cd shadowsocks
|
||||||
|
RUN python setup.py build
|
||||||
|
RUN python setup.py install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue