mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
17 lines
291 B
Docker
17 lines
291 B
Docker
#
|
|
# Dockerfile for Shadowsocks
|
|
#
|
|
|
|
FROM ubuntu:latest
|
|
MAINTAINER noreply@datageek.info
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y python python-pip
|
|
RUN pip install shadowsocks
|
|
|
|
ENV PASSWORD secret
|
|
ENV METHOD aes-256-cfb
|
|
ENV WORKERS 10
|
|
|
|
CMD ssserver -k $PASSWORD -m $METHOD --workers $WORKERS
|