Update Dockerfile

build shadowsocks from code
This commit is contained in:
Sah 2015-01-03 19:56:38 +08:00
parent 59dc0a79d7
commit c48574669f

View file

@ -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