From e95c0d318361d439c02fe587d691518f6fac36df Mon Sep 17 00:00:00 2001 From: SamYaple Date: Fri, 25 Dec 2015 21:55:08 +0000 Subject: Adjust CMD for data and kolla-ansible The CMD command for data causes docker to launch it with /bin/sh which is ugly when viewing the containers statuses. Additionally for kolla_ansible we were not specifying the CMD at all, forcing us to use the 'command' param to set the sleep command. This patch brings the kolla_ansible launch inline with the rest of the project. TrivialFix Change-Id: Ic87a89921674802c15596756526e07f52a782f32 --- docker/data/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker/data') diff --git a/docker/data/Dockerfile.j2 b/docker/data/Dockerfile.j2 index c52c568d4..17cd85b1b 100644 --- a/docker/data/Dockerfile.j2 +++ b/docker/data/Dockerfile.j2 @@ -1,6 +1,6 @@ FROM {{ base_distro }}:{{ base_distro_tag }} MAINTAINER {{ maintainer }} -CMD /bin/sleep infinity +CMD ["/bin/sleep", "infinity"] {{ include_footer }} -- cgit v1.2.3