This commit is contained in:
Bertrand Gouny 2017-03-20 09:43:42 +01:00
parent 0fbce849e4
commit a5e6705191
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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 \