Files
vpnbot/dockerfile/ocserv.dockerfile
T
2024-01-29 22:26:51 +04:00

32 lines
546 B
Docker

ARG image
FROM $image
RUN apk add --update \
openssh \
iptables \
curl \
g++ \
gnutls-dev \
gpgme \
libev-dev \
libnl3-dev \
libseccomp-dev \
linux-headers \
linux-pam-dev \
lz4-dev \
make \
readline-dev \
tar \
xz \
autoconf \
automake \
gperf \
protobuf-c-compiler \
git \
&& git clone https://gitlab.com/openconnect/ocserv.git \
&& cd /ocserv \
&& autoreconf -fvi \
&& ./configure \
&& make \
&& make install \
&& mkdir /root/.ssh