1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-30 18:51:24 +00:00
dockerfiles/shadowsocks/Dockerfile
2015-04-20 16:30:18 +08:00

21 lines
356 B
Docker

#
# Dockerfile for Shadowsocks
#
FROM ubuntu:latest
MAINTAINER noreply@datageek.info
RUN apt-get update
RUN apt-get install -y python
ADD https://bootstrap.pypa.io/get-pip.py /tmp/
RUN python /tmp/get-pip.py
RUN pip install shadowsocks
ENV PASSWORD secret
ENV METHOD aes-256-cfb
ENV WORKERS 10
CMD ssserver -k $PASSWORD -m $METHOD --workers $WORKERS