From a5e6705191f0ea7b3a2529aaf473ee637889fb01 Mon Sep 17 00:00:00 2001 From: Bertrand Gouny Date: Mon, 20 Mar 2017 09:43:42 +0100 Subject: [PATCH 2/3] add snmp --- Makefile | 2 +- image/Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 96f7da6..8911e94 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ NAME = osixia/keepalived -VERSION = 1.3.5 +VERSION = 1.3.5-1 .PHONY: all build build-nocache test tag_latest release diff --git a/image/Dockerfile b/image/Dockerfile index 37aa326..28635b7 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -17,6 +17,7 @@ RUN apt-get -y update \ libnl-genl-3-dev \ libnl-route-3-dev \ libnfnetlink-dev \ + libsnmp-dev \ libssl-dev \ make \ pkg-config \ @@ -24,7 +25,7 @@ RUN apt-get -y update \ && mkdir -p /container/keepalived-sources \ && tar -xzf keepalived.tar.gz --strip 1 -C /container/keepalived-sources \ && cd container/keepalived-sources \ - && ./configure --with-kernel-dir=/lib/modules/$(uname -r)/build \ + && ./configure --with-kernel-dir=/lib/modules/$(uname -r)/build --enable-snmp \ && make && make install \ && cd - && mkdir -p /etc/keepalived \ && apt-get remove -y --purge --auto-remove curl make gcc pkg-config \ From 605bbf64ce639a79116116bdbc5b6e4f9ba5f7a7 Mon Sep 17 00:00:00 2001 From: Bertrand Gouny Date: Tue, 21 Mar 2017 11:19:41 +0100 Subject: [PATCH 3/3] keepalived 1.3.5 --- Makefile | 2 +- image/Dockerfile | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8911e94..96f7da6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ NAME = osixia/keepalived -VERSION = 1.3.5-1 +VERSION = 1.3.5 .PHONY: all build build-nocache test tag_latest release diff --git a/image/Dockerfile b/image/Dockerfile index 28635b7..f791c80 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -17,7 +17,6 @@ RUN apt-get -y update \ libnl-genl-3-dev \ libnl-route-3-dev \ libnfnetlink-dev \ - libsnmp-dev \ libssl-dev \ make \ pkg-config \ @@ -25,7 +24,7 @@ RUN apt-get -y update \ && mkdir -p /container/keepalived-sources \ && tar -xzf keepalived.tar.gz --strip 1 -C /container/keepalived-sources \ && cd container/keepalived-sources \ - && ./configure --with-kernel-dir=/lib/modules/$(uname -r)/build --enable-snmp \ + && ./configure --disable-dynamic-linking \ && make && make install \ && cd - && mkdir -p /etc/keepalived \ && apt-get remove -y --purge --auto-remove curl make gcc pkg-config \