install ansible via apt

This commit is contained in:
Tobias Trabelsi 2020-10-31 17:42:54 +01:00
parent c83c16211d
commit 58c2f3da3f

View File

@ -11,11 +11,9 @@ RUN apt-get -q update \
git \ git \
apt-utils \ apt-utils \
curl \ curl \
ansible \
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \ && curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
&& chmod +rx /usr/local/bin/goss \ && chmod +rx /usr/local/bin/goss \
&& apt-get clean \ && apt-get clean
&& pip3 install --upgrade pip
RUN pip3 install ansible
CMD ["ansible-playbook", "--help"] CMD ["ansible-playbook", "--help"]