1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-02-05 13:25:02 +02:00

21 lines
356 B
Docker
Raw Normal View History

2015-02-09 22:40:25 +08:00
#
# Dockerfile for Shadowsocks
#
2015-02-10 01:42:33 +08:00
FROM ubuntu:latest
2015-02-09 22:40:25 +08:00
MAINTAINER noreply@datageek.info
2015-02-10 01:42:33 +08:00
RUN apt-get update
2015-04-20 16:30:18 +08:00
RUN apt-get install -y python
ADD https://bootstrap.pypa.io/get-pip.py /tmp/
RUN python /tmp/get-pip.py
2015-02-09 22:40:25 +08:00
RUN pip install shadowsocks
ENV PASSWORD secret
ENV METHOD aes-256-cfb
ENV WORKERS 10
CMD ssserver -k $PASSWORD -m $METHOD --workers $WORKERS