mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-29 18:21:24 +00:00
update
This commit is contained in:
parent
580b28848c
commit
375dda64ca
@ -5,14 +5,28 @@
|
|||||||
FROM debian:jessie
|
FROM debian:jessie
|
||||||
MAINTAINER kev <noreply@datageek.info>
|
MAINTAINER kev <noreply@datageek.info>
|
||||||
|
|
||||||
WORKDIR /
|
RUN apt-get update \
|
||||||
RUN apt-get update
|
&& apt-get install -y automake \
|
||||||
RUN apt-get install -y build-essential automake libtool debhelper gawk git
|
build-essential \
|
||||||
RUN git clone --recursive https://github.com/clowwindy/ShadowVPN.git
|
gawk \
|
||||||
|
git \
|
||||||
|
ifconfig \
|
||||||
|
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
|
||||||
|
|
||||||
WORKDIR /ShadowVPN
|
VOLUME /etc/shadowvpn
|
||||||
RUN ./autogen.sh
|
|
||||||
RUN ./configure --enable-static --sysconfdir=/etc
|
CMD shadowvpn -c /etc/shadowvpn/server.conf
|
||||||
RUN make install
|
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
|
||||||
|
Loading…
Reference in New Issue
Block a user