1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 09:41:20 +00:00
dockerfiles/shadowvpn/Dockerfile

34 lines
760 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
2017-05-07 23:05:07 +00:00
MAINTAINER kev <noreply@easypi.pro>
2015-06-11 08:17:53 +00:00
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-08-22 16:16:04 +00:00
&& git clone --recursive https://github.com/vimagick/ShadowVPN.git \
2015-06-11 10:17:32 +00:00
&& 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