1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 16:28:40 +00:00
dockerfiles/shadowvpn/Dockerfile.debian
2015-08-07 15:01:34 +08:00

34 lines
930 B
Docker

#
# Dockerfile for ShadowVPN
#
FROM debian:jessie
MAINTAINER kev <noreply@datageek.info>
RUN apt-get update \
&& apt-get install -y automake \
build-essential \
gawk \
git \
net-tools \
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
EXPOSE 1123/udp
VOLUME /etc/shadowvpn
CMD shadowvpn -c /etc/shadowvpn/server.conf