diff --git a/Dockerfile b/Dockerfile index 55e7041..ce6f481 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,8 @@ RUN dpkg -i /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 \ ansible \ - build-essential \ +# build-essential \ + curl \ git \ jq \ libxml2-dev \ @@ -48,15 +49,16 @@ RUN dpkg -i /tmp/packages-microsoft-prod.deb && \ unzip && \ sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen && \ - gem install inspec && \ +curl https://omnitruck.chef.io/install.sh | bash -s -- -P inspec && \ +# gem install inspec && \ # gem install inspec-bin && \ - apt-get remove -y \ - build-essential && \ +# apt-get remove -y \ +# build-essential && \ apt-get autoremove -y && \ rm -rf /var/lib/apt/lists/* && \ pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted' -Verbose" && \ pwsh -Command "Install-Module -Name 'powershell-yaml','VMware.PowerCLI' -Verbose" && \ - pwsh -Command "Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP \$False" && \ + pwsh -Command "Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP \$False -Confirm:\$False" && \ sh /tmp/ovftool-installer --console --eulas-agreed --required && \ rm -f /tmp/ovftool-installer