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

34 lines
930 B
Docker
Raw Normal View History

2015-06-11 08:17:53 +00:00
#
# Dockerfile for ShadowVPN
#
FROM debian:jessie
MAINTAINER kev <noreply@datageek.info>
2015-06-11 10:17:32 +00:00
RUN apt-get update \
&& apt-get install -y automake \
build-essential \
gawk \
git \
2015-06-11 10:29:37 +00:00
net-tools \
2015-06-11 10:17:32 +00:00
iptables \
libtool \
&& git clone --recursive https://github.com/clowwindy/ShadowVPN.git \
&& cd ShadowVPN \
&& ./autogen.sh \
&& ./configure --enable-static --sysconfdir=/etc \
&& make install \
&& cd .. \
&& rm -rf ShadowVPN \
&& apt-get purge -y --auto-remove automake \
build-essential \
gawk \
git \
libtool
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
VOLUME /etc/shadowvpn
CMD shadowvpn -c /etc/shadowvpn/server.conf
2015-06-11 08:25:19 +00:00