diff --git a/Dockerfile b/Dockerfile index 9e13a80..f050d20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \ + update-ca-certificates --fresh && \ 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" && \ @@ -66,7 +67,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ apt-get remove -y \ apt-transport-https \ build-essential \ - ca-certificates \ + # ca-certificates \ curl \ gnupg && \ apt-get autoremove -y && \