Create SSH service reverse proxy

This commit is contained in:
2018-11-01 01:14:41 +08:00
parent b15c8fc572
commit 0f34c39bb1
3 changed files with 45 additions and 0 deletions

27
Dockerfile Normal file
View File

@ -0,0 +1,27 @@
FROM debian
ADD . /app/
WORKDIR /app
RUN apt-get update
RUN apt-get install -y gcc automake autoconf libssl-dev pkg-config git make ppp ssh
RUN git clone https://github.com/adrienverge/openfortivpn
WORKDIR /app/openfortivpn
RUN ./autogen.sh
RUN ./configure --prefix=/usr/local --sysconfdir=/etc
RUN make
RUN make install
WORKDIR /app
CMD bash docker-entrypoint.sh
EXPOSE 22