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
This commit is contained in:
parent
9e9225d8e6
commit
e95c0d3183
@ -62,4 +62,3 @@
|
|||||||
- /var/lib/kolla/dev/log:/dev/log
|
- /var/lib/kolla/dev/log:/dev/log
|
||||||
- /dev/:/dev/
|
- /dev/:/dev/
|
||||||
- /run/:/run/
|
- /run/:/run/
|
||||||
command: "/bin/sleep infinity"
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM {{ base_distro }}:{{ base_distro_tag }}
|
FROM {{ base_distro }}:{{ base_distro_tag }}
|
||||||
MAINTAINER {{ maintainer }}
|
MAINTAINER {{ maintainer }}
|
||||||
|
|
||||||
CMD /bin/sleep infinity
|
CMD ["/bin/sleep", "infinity"]
|
||||||
|
|
||||||
{{ include_footer }}
|
{{ include_footer }}
|
||||||
|
@ -55,6 +55,8 @@ RUN mkdir -p /etc/ansible /usr/share/ansible /home/ansible \
|
|||||||
COPY find_disks.py kolla_keystone_service.py kolla_keystone_user.py kolla_sanity.py kolla_zookeeper.py /usr/share/ansible/
|
COPY find_disks.py kolla_keystone_service.py kolla_keystone_user.py kolla_sanity.py kolla_zookeeper.py /usr/share/ansible/
|
||||||
COPY ansible.cfg /home/ansible/.ansible.cfg
|
COPY ansible.cfg /home/ansible/.ansible.cfg
|
||||||
|
|
||||||
|
CMD ["/bin/sleep", "infinity"]
|
||||||
|
|
||||||
{{ include_footer }}
|
{{ include_footer }}
|
||||||
|
|
||||||
USER ansible
|
USER ansible
|
||||||
|
Loading…
Reference in New Issue
Block a user