51cd432317
* Install apt-transport-https depency in Debian based containers * Test different CMD instruction in CentOS 6 container
14 lines
419 B
Docker
14 lines
419 B
Docker
FROM ubuntu:trusty
|
|
|
|
RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y software-properties-common && rm -rf /var/lib/apt/lists/*
|
|
|
|
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
|
|
|
|
ENTRYPOINT ["/sbin/init"]
|