This commit is contained in:
parent
2dbecabed8
commit
3e401c35fc
@ -59,6 +59,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
# (pyvmomi & requests) Dependency for Ansible 'vmware_guest' module
|
# (pyvmomi & requests) Dependency for Ansible 'vmware_guest' module
|
||||||
pyvmomi \
|
pyvmomi \
|
||||||
requests && \
|
requests && \
|
||||||
|
update-ca-certificates --fresh && \
|
||||||
pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted' -Verbose" && \
|
pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted' -Verbose" && \
|
||||||
pwsh -Command "Install-Module -Name 'powershell-yaml','VMware.PowerCLI' -Verbose" && \
|
pwsh -Command "Install-Module -Name 'powershell-yaml','VMware.PowerCLI' -Verbose" && \
|
||||||
pwsh -Command "Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP \$False -Confirm:\$False" && \
|
pwsh -Command "Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP \$False -Confirm:\$False" && \
|
||||||
@ -66,7 +67,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
apt-get remove -y \
|
apt-get remove -y \
|
||||||
apt-transport-https \
|
apt-transport-https \
|
||||||
build-essential \
|
build-essential \
|
||||||
ca-certificates \
|
# ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
gnupg && \
|
gnupg && \
|
||||||
apt-get autoremove -y && \
|
apt-get autoremove -y && \
|
||||||
|
Loading…
Reference in New Issue
Block a user