aboutsummaryrefslogtreecommitdiff
path: root/docker/centos/binary/keepalived/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/centos/binary/keepalived/Dockerfile')
-rwxr-xr-xdocker/centos/binary/keepalived/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/docker/centos/binary/keepalived/Dockerfile b/docker/centos/binary/keepalived/Dockerfile
new file mode 100755
index 000000000..f24954990
--- /dev/null
+++ b/docker/centos/binary/keepalived/Dockerfile
@@ -0,0 +1,13 @@
+FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
+MAINTAINER Kolla Project (https://launchpad.net/kolla)
+
+RUN yum -y install \
+ hostname \
+ keepalived \
+ socat \
+ && yum clean all
+
+COPY keepalived.conf /etc/keepalived/
+
+COPY start.sh check_alive.sh /
+CMD ["/start.sh"]