1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-20 04:59:27 +02:00
dockerfiles/shadowvpn/Dockerfile

34 lines
760 B
Docker
Raw Normal View History

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