2015-06-11 10:17:53 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for ShadowVPN
|
|
|
|
#
|
|
|
|
|
|
|
|
FROM debian:jessie
|
|
|
|
MAINTAINER kev <noreply@datageek.info>
|
|
|
|
|
2015-06-11 12:17:32 +02:00
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y automake \
|
|
|
|
build-essential \
|
|
|
|
gawk \
|
|
|
|
git \
|
2015-06-11 12:29:37 +02:00
|
|
|
net-tools \
|
2015-06-11 12:17:32 +02: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 10:17:53 +02:00
|
|
|
|
2015-06-11 12:17:32 +02:00
|
|
|
VOLUME /etc/shadowvpn
|
|
|
|
|
|
|
|
CMD shadowvpn -c /etc/shadowvpn/server.conf
|
2015-06-11 10:25:19 +02:00
|
|
|
|