Module: check_mk
Branch: master
Commit: fac5d1251426b31a6d7409c596dd6db2205d4ebc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fac5d1251426b3…
Author: Alex Zurhake <az(a)mathias-kettner.de>
Date: Thu Jan 24 09:29:54 2019 +0100
CMK-1469 Docker containers to build on all supported Debian distros
Change-Id: I3c0cbcd4bb75b2d988f6851e00ea32831528bc87
---
.../infrastructure/build-nodes/debian-8/Dockerfile | 55 +++++++++++++++++++++
.../infrastructure/build-nodes/debian-9/Dockerfile | 56 ++++++++++++++++++++++
2 files changed, 111 insertions(+)
diff --git a/buildscripts/infrastructure/build-nodes/debian-8/Dockerfile
b/buildscripts/infrastructure/build-nodes/debian-8/Dockerfile
new file mode 100644
index 0000000..4495110
--- /dev/null
+++ b/buildscripts/infrastructure/build-nodes/debian-8/Dockerfile
@@ -0,0 +1,55 @@
+FROM debian:8
+
+SHELL ["/bin/bash", "-c"]
+ENV DEBIAN_FRONTEND=noninteractive
+
+RUN apt-get update \
+ && apt-get install -y \
+ apache2 \
+ apache2-threaded-dev \
+ build-essential \
+ dietlibc-dev \
+ dnsutils \
+ dpatch \
+ flex \
+ gettext \
+ git-buildpackage \
+ libboost-all-dev \
+ libcloog-ppl1 \
+ libcurl4-openssl-dev \
+ libdbi-dev \
+ libevent-dev \
+ libffi-dev \
+ libfreeradius-client-dev \
+ libgd-dev \
+ libglib2.0-dev \
+ libgnutls28-dev \
+ libgsf-1-dev \
+ libldap2-dev \
+ libltdl-dev \
+ libmcrypt-dev \
+ libmysqlclient15-dev \
+ libncurses5-dev \
+ libpango1.0-dev \
+ libpcap-dev \
+ libperl-dev \
+ libpq-dev \
+ libreadline6-dev \
+ librrd-dev \
+ libsqlite3-dev \
+ libssl-dev \
+ libxml2-dev \
+ openssh-client \
+ patch \
+ rpcbind \
+ smbclient \
+ texinfo \
+ tk-dev \
+ uuid-dev \
+ && rm -rf /var/lib/apt/lists/*
+
+COPY bw-build-gnu-toolchain.sh /usr/sbin
+RUN bw-build-gnu-toolchain.sh -b
+RUN mv /usr/bin/gcc /usr/bin/gcc-old \
+ && ln -s /usr/local/bin/gcc-8 /usr/local/bin/gcc \
+ && ln -s /usr/local/bin/gcc-8 /usr/local/bin/cc
diff --git a/buildscripts/infrastructure/build-nodes/debian-9/Dockerfile
b/buildscripts/infrastructure/build-nodes/debian-9/Dockerfile
new file mode 100644
index 0000000..03d8af6
--- /dev/null
+++ b/buildscripts/infrastructure/build-nodes/debian-9/Dockerfile
@@ -0,0 +1,56 @@
+FROM debian:9
+
+SHELL ["/bin/bash", "-c"]
+ENV DEBIAN_FRONTEND=noninteractive
+
+RUN apt-get update \
+ && apt-get install -y \
+ apache2 \
+ apache2-dev \
+ build-essential \
+ default-libmysqlclient-dev \
+ dietlibc-dev \
+ dnsutils \
+ dpatch \
+ flex \
+ gettext \
+ git-buildpackage \
+ libboost-all-dev \
+ libcloog-ppl1 \
+ libcurl4-openssl-dev \
+ libdbi-dev \
+ libevent-dev \
+ libffi-dev \
+ libfreeradius-dev \
+ libgd-dev \
+ libglib2.0-dev \
+ libgnutls28-dev \
+ libgsf-1-dev \
+ libkrb5-dev \
+ libldap2-dev \
+ libltdl-dev \
+ libmcrypt-dev \
+ libncurses5-dev \
+ libpango1.0-dev \
+ libpcap-dev \
+ libperl-dev \
+ libpq-dev \
+ libreadline-dev \
+ librrd-dev \
+ libsqlite3-dev \
+ libssl1.0-dev \
+ libxml2-dev \
+ openssh-client \
+ patch \
+ rpcbind \
+ smbclient \
+ texinfo \
+ tk-dev \
+ uuid-dev \
+ && rm -rf /var/lib/apt/lists/*
+
+COPY bw-build-gnu-toolchain.sh /usr/sbin
+RUN bw-build-gnu-toolchain.sh -b
+RUN mv /usr/bin/gcc /usr/bin/gcc-old \
+ && ln -s /usr/local/bin/gcc-8 /usr/local/bin/gcc \
+ && ln -s /usr/local/bin/gcc-8 /usr/local/bin/cc