1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/shadowsocks/Dockerfile

21 lines
356 B
Docker
Raw Normal View History

2015-02-09 16:40:25 +02:00
#
# Dockerfile for Shadowsocks
#
2015-02-09 19:42:33 +02:00
FROM ubuntu:latest
2015-02-09 16:40:25 +02:00
MAINTAINER noreply@datageek.info
2015-02-09 19:42:33 +02:00
RUN apt-get update
2015-04-20 10:30:18 +02: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 16:40:25 +02:00
RUN pip install shadowsocks
ENV PASSWORD secret
ENV METHOD aes-256-cfb
ENV WORKERS 10
CMD ssserver -k $PASSWORD -m $METHOD --workers $WORKERS