1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00
dockerfiles/shadowvpn/Dockerfile

34 lines
761 B
Docker
Raw Normal View History

2015-06-11 10:17:53 +02:00
#
# Dockerfile for ShadowVPN
#
2015-08-07 09:01:34 +02:00
FROM alpine
2016-05-01 03:06:20 +02:00
MAINTAINER kev <noreply@easypi.info>
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