2015-06-11 10:17:53 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for ShadowVPN
|
|
|
|
#
|
|
|
|
|
2015-08-07 09:01:34 +02:00
|
|
|
FROM alpine
|
2017-05-08 01:05:07 +02:00
|
|
|
MAINTAINER kev <noreply@easypi.pro>
|
2015-06-11 10:17:53 +02:00
|
|
|
|
2015-08-07 09:01:34 +02:00
|
|
|
RUN apk add -U autoconf \
|
|
|
|
automake \
|
|
|
|
build-base \
|
|
|
|
gawk \
|
|
|
|
git \
|
|
|
|
iptables \
|
|
|
|
libtool \
|
2015-08-07 09:05:18 +02:00
|
|
|
linux-headers \
|
2015-08-22 18:16:04 +02:00
|
|
|
&& git clone --recursive https://github.com/vimagick/ShadowVPN.git \
|
2015-06-11 12:17:32 +02:00
|
|
|
&& cd ShadowVPN \
|
|
|
|
&& ./autogen.sh \
|
|
|
|
&& ./configure --enable-static --sysconfdir=/etc \
|
|
|
|
&& make install \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf ShadowVPN \
|
2015-08-07 09:01:34 +02:00
|
|
|
&& apk del autoconf \
|
|
|
|
automake \
|
|
|
|
build-base \
|
|
|
|
gawk \
|
|
|
|
git \
|
2015-08-07 09:05:18 +02:00
|
|
|
libtool \
|
|
|
|
linux-headers
|
2015-06-11 10:17:53 +02:00
|
|
|
|
2015-06-11 12:31:18 +02:00
|
|
|
EXPOSE 1123/udp
|
2015-06-11 12:17:32 +02:00
|
|
|
|
|
|
|
CMD shadowvpn -c /etc/shadowvpn/server.conf
|