mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
34 lines
761 B
Docker
34 lines
761 B
Docker
#
|
|
# Dockerfile for ShadowVPN
|
|
#
|
|
|
|
FROM alpine
|
|
MAINTAINER kev <noreply@easypi.info>
|
|
|
|
RUN apk add -U autoconf \
|
|
automake \
|
|
build-base \
|
|
gawk \
|
|
git \
|
|
iptables \
|
|
libtool \
|
|
linux-headers \
|
|
&& git clone --recursive https://github.com/vimagick/ShadowVPN.git \
|
|
&& cd ShadowVPN \
|
|
&& ./autogen.sh \
|
|
&& ./configure --enable-static --sysconfdir=/etc \
|
|
&& make install \
|
|
&& cd .. \
|
|
&& rm -rf ShadowVPN \
|
|
&& apk del autoconf \
|
|
automake \
|
|
build-base \
|
|
gawk \
|
|
git \
|
|
libtool \
|
|
linux-headers
|
|
|
|
EXPOSE 1123/udp
|
|
|
|
CMD shadowvpn -c /etc/shadowvpn/server.conf
|