also upgraded ansible in debian 8

This commit is contained in:
Tobias Trabelsi 2020-10-31 18:57:30 +01:00
parent 74ced09e91
commit 43623da900
1 changed files with 9 additions and 2 deletions

View File

@ -11,9 +11,16 @@ RUN apt-get -q update \
git \
apt-utils \
curl \
ansible \
gnupg \
dirmngr \
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
&& chmod +rx /usr/local/bin/goss \
&& apt-get clean
&& pip3 install --upgrade pip
RUN echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" >> /etc/apt/sources \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 \
&& apt-get -q update \
&& apt-get install -yq ansible \
&& apt-get clean
CMD ["ansible-playbook", "--help"]