2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

switch from debian to alpine

This commit is contained in:
kev
2015-06-16 15:07:59 +08:00
parent c3af38ff54
commit 67871824e8

View File

@@ -2,14 +2,15 @@
# Dockerfile for shadowsocks # Dockerfile for shadowsocks
# #
FROM debian:jessie FROM alpine
MAINTAINER kev <noreply@datageek.info> MAINTAINER kev <noreply@datageek.info>
RUN apt-get update \ RUN apk update \
&& apt-get install -y curl python \ && apk add curl python \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \ && curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
&& pip install shadowsocks \ && pip install shadowsocks \
&& rm -rf /var/lib/apt/lists/* && apk del curl \
&& rm -rf /var/cache/apk/*
ENV SERVER_ADDR 0.0.0.0 ENV SERVER_ADDR 0.0.0.0
ENV SERVER_PORT 8388 ENV SERVER_PORT 8388