1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00

update shadowsocks

This commit is contained in:
kev 2015-07-16 17:23:25 +08:00
parent 31d50f4ea2
commit 5bba4f99a6
4 changed files with 26 additions and 5 deletions

View File

@ -1,7 +1,7 @@
shadowsocks
===========
[![](https://badge.imagelayers.io/vimagick/shadowsocks:latest.svg)](https://imagelayers.io/?images=vimagick/shadowsocks:latest 'Get your own badge on imagelayers.io')
![](https://badge.imagelayers.io/vimagick/shadowsocks:latest.svg)
[`shadowsocks`][1] is a secure socks5 proxy,
designed to protect your Internet traffic.

View File

@ -8,14 +8,14 @@ MAINTAINER kev <noreply@datageek.info>
ENV SS_VER 2.2.2
ENV SS_URL https://github.com/shadowsocks/shadowsocks-libev/archive/v$SS_VER.tar.gz
ENV SS_DIR shadowsocks-libev-$SS_VER
ENV SS_DEP curl linux-headers build-base autoconf libtool openssl-dev
ENV SS_DEP autoconf build-base curl libtool linux-headers openssl-dev
RUN apk add --update $SS_DEP \
&& curl -sSL $SS_URL | tar xz \
&& cd $SS_DIR \
&& pushd $SS_DIR \
&& ./configure \
&& make install \
&& cd .. \
&& popd \
&& rm -rf $SS_DIR \
&& apk del --purge $SS_DEP \
&& rm -rf /var/cache/apk/*

View File

@ -1,7 +1,7 @@
shadowsocks-libev
=================
[![](https://badge.imagelayers.io/vimagick/shadowsocks-libev:latest.svg)](https://imagelayers.io/?images=vimagick/shadowsocks-libev:latest 'Get your own badge on imagelayers.io')
![](https://badge.imagelayers.io/vimagick/shadowsocks-libev:latest.svg)
`shadowsocks-libev` is a lightweight secured socks5 proxy for embedded devices and low end boxes.
@ -9,6 +9,20 @@ It is a port of shadowsocks created by @clowwindy maintained by @madeye and @lin
Compared to `vimagick/shadowsocks`, `vimagick/shadowsocks-libev` uses less cpu/memory/disk.
## docker-compose.yml
```
shadowsocks:
image: vimagick/shadowsocks-libev
ports:
- "8388:8388"
environment:
- PASSWORD=9MLSpPmNt
restart: always
```
> Please choose a strong password to protect your server.
## CPU/MEMORY
```

View File

@ -0,0 +1,7 @@
shadowsocks:
image: vimagick/shadowsocks-libev
ports:
- "8388:8388"
environment:
- PASSWORD=9MLSpPmNt
restart: always