2015-12-29 15:01:00 +08:00
|
|
|
# shadowsocks-libev
|
2020-09-13 15:49:05 +08:00
|
|
|
# NAME: kennylee/shadowsocks-libev
|
2015-12-29 15:01:00 +08:00
|
|
|
|
|
|
|
# Pull base image.
|
|
|
|
FROM ubuntu:14.04
|
|
|
|
|
|
|
|
# 维护者信息
|
2020-09-13 15:49:05 +08:00
|
|
|
MAINTAINER kennylee <kennylee26@gmail.com>
|
2015-12-29 15:01:00 +08:00
|
|
|
|
|
|
|
# resp
|
|
|
|
RUN sed -i 's/archive.ubuntu.com/mirrors.163.com/g' /etc/apt/sources.list
|
|
|
|
|
|
|
|
# Basic Requirements
|
|
|
|
ADD 1D27208A.gpg /tmp/
|
|
|
|
RUN apt-key add /tmp/1D27208A.gpg
|
|
|
|
RUN echo 'deb http://shadowsocks.org/ubuntu trusty main'>/etc/apt/sources.list.d/shadowsocks.list
|
|
|
|
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y shadowsocks-libev --no-install-recommends
|
|
|
|
|
|
|
|
RUN apt-get clean && \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
# Define default command.
|
|
|
|
ENTRYPOINT ["/usr/bin/ss-server"]
|