FROM ubuntu:16.04 RUN apt-get update \ && apt-get install -y --no-install-recommends \ software-properties-common \ && apt-add-repository ppa:ansible/ansible \ && apt-get update \ && apt-get install -y --no-install-recommends \ ansible \ python-apt \ git-core \ && apt-get clean CMD ["ansible-playbook", "--help"]