From a5e6705191f0ea7b3a2529aaf473ee637889fb01 Mon Sep 17 00:00:00 2001 From: Bertrand Gouny Date: Mon, 20 Mar 2017 09:43:42 +0100 Subject: [PATCH] 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 \