Compare commits

..

6 Commits

Author SHA1 Message Date
ofreax 43fec88bbb Merge branch 'hotfix-0.1.3' into stable 2015-07-09 23:41:47 +02:00
ofreax b4ad65b1f1 fix libnl 2015-07-09 23:15:19 +02:00
ofreax 0e00000114 [twgit] Init hotfix 'hotfix-0.1.3'. 2015-07-09 23:01:18 +02:00
ofreax f72f907397 Merge branch 'hotfix-0.1.2' into stable 2015-07-09 21:50:51 +02:00
ofreax 6a4a623d54 keepalived 1.2.19 2015-07-09 21:41:14 +02:00
ofreax 712f5daff0 [twgit] Init hotfix 'hotfix-0.1.2'. 2015-07-09 21:05:04 +02:00
4 changed files with 13 additions and 5 deletions
+8
View File
@@ -1,5 +1,13 @@
# Changelog
## 0.1.3
- Fix libnl dependency
## 0.1.2
- Keepalived version 1.2.19
- Update default config :
- Set start state to BACKUP
## 0.1.1
- Add notify script
+1 -1
View File
@@ -1,5 +1,5 @@
NAME = osixia/keepalived
VERSION = 0.1.1
VERSION = 0.1.3
.PHONY: all build test tag_latest release
+3 -3
View File
@@ -2,7 +2,7 @@ FROM osixia/baseimage:0.10.4
MAINTAINER Bertrand Gouny <bertrand.gouny@osixia.net>
# Keepalived version
ENV KEEPALIVED_VERSION 1.2.17
ENV KEEPALIVED_VERSION 1.2.19
# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]
@@ -10,7 +10,7 @@ CMD ["/sbin/my_init"]
# Install Keepalived
RUN apt-get -y update \
&& LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y \
make gcc libssl-dev \
make gcc pkg-config libssl-dev libnl-dev \
&& curl -o keepalived.tar.gz -SL http://keepalived.org/software/keepalived-${KEEPALIVED_VERSION}.tar.gz \
&& mkdir -p /osixia/keepalived-sources \
&& tar -xzf keepalived.tar.gz --strip 1 -C /osixia/keepalived-sources \
@@ -18,7 +18,7 @@ RUN apt-get -y update \
&& ./configure --with-kernel-dir=/lib/modules/$(uname -r)/build \
&& make && make install \
&& cd - && mkdir -p /etc/keepalived \
&& apt-get remove -y --purge --auto-remove make gcc libssl-dev
&& apt-get remove -y --purge --auto-remove make gcc pkg-config libssl-dev
# Add Keepalived assets
ADD service/keepalived/assets /osixia/keepalived
@@ -13,7 +13,7 @@ vrrp_instance VI_1 {
{{ keepalived_interface }}
}
state MASTER
state BACKUP
virtual_router_id 51
priority {{ keepalived_priority }}
nopreempt