This commit is contained in:
parent
b0227a6837
commit
846e3be3e7
@ -36,11 +36,10 @@ 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 \
|
||||
curl \
|
||||
git \
|
||||
jq \
|
||||
# libxml2-dev \
|
||||
# libffi-dev \
|
||||
locales \
|
||||
netcat-openbsd \
|
||||
openssh-client \
|
||||
@ -49,10 +48,14 @@ RUN dpkg -i /tmp/packages-microsoft-prod.deb && \
|
||||
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
|
||||
locale-gen && \
|
||||
curl https://omnitruck.chef.io/install.sh | bash -s -- -P inspec && \
|
||||
gem update --system && gem update && \
|
||||
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 -Confirm:\$False" && \
|
||||
sh /tmp/ovftool-installer --console --eulas-agreed --required && \
|
||||
apt remove -y \
|
||||
build-essential && \
|
||||
apt autoremove -y && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -f /tmp/ovftool-installer
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user