1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-24 05:17:06 +02: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
#
FROM debian:jessie
FROM alpine
MAINTAINER kev <noreply@datageek.info>
RUN apt-get update \
&& apt-get install -y curl python \
RUN apk update \
&& apk add curl python \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
&& 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_PORT 8388