From 253a3c4416ca63c19a8c50c71d606eaecd15aafa Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 2 Mar 2023 17:08:56 +0100 Subject: Docker: T4625: add missing build dependencies Commit 317ffe1 ("T4625: Update ocserv packet to 1.1.6-3") updated the version used for ocserv on VyOS 1.3. This commit adds the missing dependencies for the Docker container in order to build the ocserv packages. --- docker/Dockerfile | 41 +++++++++++++++++++++++++++++++++++++++++ packages/ocserv/Jenkinsfile | 2 +- 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 9e563397..1416ae04 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -597,6 +597,47 @@ RUN apt-get update && apt-get install -y \ docbook-to-man \ docbook-utils +# Packages needed for ocserv +RUN apt-get update && apt-get install -y \ + autogen \ + debhelper \ + freeradius \ + gawk \ + gnutls-bin \ + gperf \ + gss-ntlmssp \ + haproxy \ + iproute2 \ + iputils-ping \ + libcjose-dev \ + libcurl4-gnutls-dev \ + libev-dev \ + libgnutls28-dev \ + libhttp-parser-dev \ + libjansson-dev \ + libkrb5-dev \ + liblz4-dev \ + libmaxminddb-dev \ + libnl-route-3-dev \ + libnss-wrapper \ + liboath-dev \ + libpam-wrapper \ + libpam0g-dev \ + libprotobuf-c-dev \ + libradcli-dev \ + libreadline-dev \ + libseccomp-dev \ + libsocket-wrapper \ + libtalloc-dev \ + libuid-wrapper \ + nettle-dev \ + nuttcp \ + pkg-config \ + protobuf-c-compiler \ + ronn \ + tcpdump \ + yajl-tools + # # fpm: a command-line program designed to help you build packages (e.g. deb) # diff --git a/packages/ocserv/Jenkinsfile b/packages/ocserv/Jenkinsfile index a57b3b1e..686cde80 100644 --- a/packages/ocserv/Jenkinsfile +++ b/packages/ocserv/Jenkinsfile @@ -24,7 +24,7 @@ def pkgList = [ ['name': 'ocserv', 'scmCommit': 'debian/1.1.6-3', 'scmUrl': 'https://salsa.debian.org/debian/ocserv/', - 'buildCmd': 'dpkg-buildpackage -uc -us -tc -b'], + 'buildCmd': 'dpkg-buildpackage -uc -us -tc -b -d'], ] // Start package build using library function from https://github.com/vyos/vyos-build -- cgit v1.2.3