mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
switch from debian to alpine
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user