ansible/ubuntu-18.04/Dockerfile

20 lines
570 B
Docker
Raw Normal View History

2019-05-24 16:06:01 +00:00
FROM ubuntu:18.04
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
software-properties-common \
apt-utils \
&& apt-add-repository ppa:ansible/ansible \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
ansible \
python-apt \
git-core \
openssh-client \
2020-10-31 15:47:55 +00:00
curl \
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
&& chmod +rx /usr/local/bin/goss \
2019-05-24 16:06:01 +00:00
&& apt-get clean
CMD ["ansible-playbook", "--help"]