-
Notifications
You must be signed in to change notification settings - Fork 41
/
Dockerfile
25 lines (18 loc) · 961 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# SoftEther VPN server
FROM yaronr/debian-wheezy
MAINTAINER Frank Rosquin <frank.rosquin@gmail.com>
ENV VERSION v4.15-9538-beta-2015.03.27
WORKDIR /usr/local/vpnserver
RUN apt-get update &&\
apt-get -y -q install gcc make wget && \
apt-get clean && \
rm -rf /var/cache/apt/* /var/lib/apt/lists/* && \
wget http://www.softether-download.com/files/softether/${VERSION}-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-${VERSION}-linux-x64-64bit.tar.gz -O /tmp/softether-vpnserver.tar.gz &&\
tar -xzvf /tmp/softether-vpnserver.tar.gz -C /usr/local/ &&\
rm /tmp/softether-vpnserver.tar.gz &&\
make i_read_and_agree_the_license_agreement &&\
apt-get purge -y -q --auto-remove gcc make wget
ADD runner.sh /usr/local/vpnserver/runner.sh
RUN chmod 755 /usr/local/vpnserver/runner.sh
EXPOSE 443/tcp 992/tcp 1194/tcp 1194/udp 5555/tcp 500/udp 4500/udp
ENTRYPOINT ["/usr/local/vpnserver/runner.sh"]