-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# Dockerfile for shadowsocks-libev-arm | ||
# | ||
|
||
FROM resin/rpi-raspbian | ||
MAINTAINER EasyPi Software Foundation | ||
|
||
ENV SS_VER 2.5.6 | ||
ENV SS_DIR shadowsocks-libev-${SS_VER} | ||
ENV SS_DEB shadowsocks-libev_${SS_VER}-1_armhf.deb | ||
ENV SS_URL https://github.com/shadowsocks/shadowsocks-libev/archive/v${SS_VER}.tar.gz | ||
ENV SS_DEP asciidoc autoconf build-essential curl debhelper dh-systemd gawk init-system-helpers libpcre3-dev libssl-dev libtool pkg-config xmlto | ||
|
||
RUN set -xe \ | ||
&& apt-get update \ | ||
&& apt-get install -y apg ${SS_DEP} \ | ||
&& curl -sSL ${SS_URL} | tar xz \ | ||
&& cd ${SS_DIR} \ | ||
&& dpkg-buildpackage -b -us -uc -i \ | ||
&& cd .. \ | ||
&& rm -rf ${SS_DIR} \ | ||
&& dpkg -i ${SS_DEB} \ | ||
&& apt-get remove -y ${SS_DEP} \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
EXPOSE 8388/tcp 8388/udp | ||
|
||
ENTRYPOINT ["/usr/bin/ss-server"] | ||
CMD ["-c", "/etc/shadowsocks-libev/config.json", "-u"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters