mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
update shadowsocks
This commit is contained in:
parent
31d50f4ea2
commit
5bba4f99a6
@ -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.
|
||||
|
@ -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/*
|
||||
|
@ -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
|
||||
|
||||
```
|
||||
|
7
shadowsocks/libev/docker-compose.yml
Normal file
7
shadowsocks/libev/docker-compose.yml
Normal file
@ -0,0 +1,7 @@
|
||||
shadowsocks:
|
||||
image: vimagick/shadowsocks-libev
|
||||
ports:
|
||||
- "8388:8388"
|
||||
environment:
|
||||
- PASSWORD=9MLSpPmNt
|
||||
restart: always
|
Loading…
Reference in New Issue
Block a user