Rebase ansible installation source
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-02-01 15:53:26 +01:00
parent 39966a4f2c
commit 0d245d09b1

View File

@ -35,7 +35,6 @@ ENV LC_ALL en_US.UTF-8
RUN dpkg -i /tmp/packages-microsoft-prod.deb && \ RUN dpkg -i /tmp/packages-microsoft-prod.deb && \
rm -f /tmp/packages-microsoft-prod.deb && \ rm -f /tmp/packages-microsoft-prod.deb && \
apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \ apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \
ansible \
build-essential \ build-essential \
curl \ curl \
git \ git \
@ -43,8 +42,11 @@ RUN dpkg -i /tmp/packages-microsoft-prod.deb && \
locales \ locales \
netcat-openbsd \ netcat-openbsd \
openssh-client \ openssh-client \
powershell \ powershell && \
unzip && \ echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" | tee -a /etc/apt/sources.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 && \
apt-get update && apt-get install -y --no-install-recommends \
ansible && \
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen && \ locale-gen && \
curl https://omnitruck.chef.io/install.sh | bash -s -- -P inspec && \ curl https://omnitruck.chef.io/install.sh | bash -s -- -P inspec && \