build: Push to correct registry & Housekeeping
This commit is contained in:
@ -10,9 +10,6 @@ ARG REPO_USERNAME
|
||||
ARG REPO_PASSWORD
|
||||
ADD https://${REPO_USERNAME}:${REPO_PASSWORD}@sn.itch.fyi/Repository/bin/VMware/ovftool/4.4.x/${OVFTOOL_INSTALLER} /tmp/ovftool-installer
|
||||
|
||||
RUN apk --update add --no-cache \
|
||||
openssl && \
|
||||
openssl s_client -connect api.github.com:443 -msg -tls1_2
|
||||
RUN apk --update add --no-cache \
|
||||
curl \
|
||||
jq && \
|
||||
@ -73,8 +70,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
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-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted'" && \
|
||||
pwsh -Command "Install-Module -Name 'powershell-yaml','VMware.PowerCLI'" && \
|
||||
pwsh -Command "Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP \$False -Confirm:\$False" && \
|
||||
sh /tmp/ovftool-installer --console --eulas-agreed --required && \
|
||||
apt-get remove -y \
|
||||
|
Reference in New Issue
Block a user