1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-30 18:51:24 +00:00
dockerfiles/shadowvpn/Dockerfile

34 lines
764 B
Docker
Raw Normal View History

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