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