Issue #61: Ensure apt-add-repository is present on Ubuntu 12.04.

This commit is contained in:
Jeff Geerling 2015-12-13 15:33:07 -06:00
parent fda9e90f9d
commit c1f932a641

View file

@ -1,5 +1,8 @@
FROM ubuntu:12.04 FROM ubuntu:12.04
# Add `apt-add-repository`.
sudo apt-get install python-software-properties
# Install Ansible # Install Ansible
RUN apt-get install -y software-properties-common git RUN apt-get install -y software-properties-common git
RUN apt-add-repository -y ppa:ansible/ansible RUN apt-add-repository -y ppa:ansible/ansible