mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-22 02:07:46 +07:00
Add more packages and entrypoint
This commit is contained in:
parent
1c8cbea43e
commit
9cad9b9f3f
@ -2,12 +2,16 @@ FROM centos:8
|
||||
|
||||
RUN dnf install -y epel-release
|
||||
|
||||
RUN dnf install -y ansible python3-devel libffi-devel gcc openssl-devel python3-libselinux python3-pip
|
||||
RUN dnf install -y ansible python3-devel libffi-devel gcc openssl-devel python3-libselinux python3-pip which
|
||||
|
||||
RUN pip3 install kolla-ansible
|
||||
|
||||
RUN mkdir /etc/kolla
|
||||
|
||||
COPY ./kolla/ansible.cfg /etc/ansible/
|
||||
COPY ./kolla/cluster.ini /root/cluster.ini
|
||||
COPY ./docker-entrypoint.sh /docker-entrypoint.sh
|
||||
|
||||
CMD [ "sleep", "10000" ]
|
||||
ENTRYPOINT [ "/docker-entrypoint.sh" ]
|
||||
|
||||
CMD [ "/root/cluster.ini" ]
|
||||
|
Loading…
Reference in New Issue
Block a user