summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorrunborg <runar@13xl.com>2018-12-17 23:35:18 +0100
committerDaniil Baturin <daniil@baturin.org>2018-12-18 05:35:18 +0700
commitdfbe78ffbaa225b7e11d8e1e0e0b7d65fc9e022a (patch)
tree9f8088a6f35f38f12e7134d79ca3c9bf966c41e7 /Dockerfile
parent7889203766a4f00eab8296ef522d451b431df34d (diff)
downloadvyos-build-dfbe78ffbaa225b7e11d8e1e0e0b7d65fc9e022a.tar.gz
vyos-build-dfbe78ffbaa225b7e11d8e1e0e0b7d65fc9e022a.zip
T1070 - docker build of vyos-strongswan (#31)
* T1070 - Added packages and readme notes about building strongswan strongswan is easely built using a docker image, but needs special options to pass tests. Added notes in the readme about building it and building instructions * T1070 - Restructured build example for wyos-strongswan
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 2cfc826d..17864402 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -41,6 +41,30 @@ RUN echo 'deb http://ftp.debian.org/debian jessie-backports main' | tee -a /etc/
python3-nose \
python3-coverage
+# Packages needed for building vyos-strongswan
+RUN apt-get install -y -t jessie-backports \
+ debhelper &&\
+ apt-get install -y \
+ dh-apparmor \
+ gperf \
+ iptables-dev \
+ libcap-dev \
+ libgcrypt20-dev \
+ libgmp3-dev \
+ libldap2-dev \
+ libpam0g-dev \
+ libsystemd-dev \
+ libgmp-dev \
+ iptables \
+ xl2tpd \
+ libcurl4-openssl-dev \
+ libcurl4-openssl-dev \
+ libkrb5-dev \
+ libsqlite3-dev \
+ libssl-dev \
+ libxml2-dev \
+ pkg-config
+
# Update live-build
RUN echo 'deb http://ftp.debian.org/debian stretch main' | tee -a /etc/apt/sources.list.d/stretch.list &&\
apt-get update &&\