Commit 7ef04862 authored by Tommy Lau's avatar Tommy Lau

Enable libnl3, libseccomp, libpam in docker image

parent 4174daef
FROM alpine:3.4 FROM alpine:3.4
# Install runtime packages # Install runtime packages
RUN apk update && apk add gawk gnutls gnutls-utils iptables libev libintl libnl linux-pam lz4 openssl protobuf-c readline sed RUN apk update && apk add gnutls gnutls-utils iptables libev libnl3 libseccomp linux-pam lz4 openssl readline sed
RUN buildDeps=" \ RUN buildDeps=" \
curl \ curl \
g++ \ g++ \
gcc \
gnutls-dev \ gnutls-dev \
gperf \
gpgme \ gpgme \
libev-dev \ libev-dev \
libnl3-dev \
libseccomp-dev \
linux-headers \ linux-headers \
linux-pam-dev \
lz4-dev \ lz4-dev \
make \ make \
readline-dev \ readline-dev \
...@@ -30,7 +31,7 @@ RUN buildDeps=" \ ...@@ -30,7 +31,7 @@ RUN buildDeps=" \
&& rm ocserv.tar.xz* \ && rm ocserv.tar.xz* \
&& cd /usr/src/ocserv \ && cd /usr/src/ocserv \
&& ./configure \ && ./configure \
&& make -j"$(nproc)" \ && make \
&& make install \ && make install \
&& mkdir -p /etc/ocserv \ && mkdir -p /etc/ocserv \
&& cp /usr/src/ocserv/doc/sample.config /etc/ocserv/ocserv.conf \ && cp /usr/src/ocserv/doc/sample.config /etc/ocserv/ocserv.conf \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment