Fix Dockerfiles

* Install apt-transport-https depency in Debian based containers
* Test different CMD instruction in CentOS 6 container
This commit is contained in:
Alessandro Fael Garcia 2018-04-13 15:53:19 -07:00
parent 2b72889d90
commit 51cd432317
5 changed files with 5 additions and 1 deletions

View File

@ -9,4 +9,4 @@ RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts
VOLUME ["/sys/fs/cgroup"]
CMD ["/usr/sbin/init"]
CMD ["/sbin/init"]

View File

@ -8,6 +8,7 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \
python-dev \
python-pip \
git \
apt-transport-https
&& rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade setuptools && pip install ansible

View File

@ -9,6 +9,7 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \
python-pip \
git \
systemd \
apt-transport-https
&& rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade setuptools && pip install ansible

View File

@ -5,6 +5,7 @@ RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y software-pro
RUN apt-add-repository -y ppa:ansible/ansible && apt-get update && apt-get install -y \
git \
ansible \
apt-transport-https
&& rm -rf /var/lib/apt/lists/*
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts

View File

@ -5,6 +5,7 @@ RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y software-pro
RUN apt-add-repository -y ppa:ansible/ansible && apt-get update && apt-get install -y \
git \
ansible \
apt-transport-https
&& rm -rf /var/lib/apt/lists/*
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts