Files
vpnbot/dockerfile/ocserv.dockerfile
T
2024-02-27 22:57:02 +04:00

32 lines
613 B
Docker

ARG image
FROM $image
RUN apk add --update openssh iptables \
&& apk add --no-cache --virtual .build-deps \
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 \
&& apk del .build-deps \
&& mkdir /root/.ssh