#2 fixed and changed drone.yml

This commit is contained in:
2019-05-24 18:33:20 +02:00
parent 51eb696e96
commit 71196252ee
2 changed files with 46 additions and 25 deletions

View File

@ -1,11 +1,5 @@
FROM archlinux/base
RUN echo "[archlinuxfr]" >> /etc/pacman.conf && \
echo "SigLevel = Never" >> /etc/pacman.conf && \
echo "Server = http://repo.archlinux.fr/x86_64" >> /etc/pacman.conf
RUN pacman -Syuu --noconfirm && pacman -S yaourt ansible sshpass python2-passlib python2-netaddr python2-pywinrm python2-dnspython python2-ovirt-engine-sdk python2-jmespath python2-requests-ntlm python2-requests-kerberos python2-requests-credssp git --noconfirm
RUN rm /usr/bin/python && ln -s /usr/bin/python2.7 /usr/bin/python
RUN pacman -Syuu --noconfirm && pacman -S python ansible sshpass git --noconfirm
CMD ["ansible-playbook", "--help"]