Update 'Dockerfile'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2021-11-07 11:02:09 +00:00
parent 011aa73bd4
commit db32188b46

View File

@ -44,7 +44,7 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted' -Verbose" && \ pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted' -Verbose" && \
pwsh -Command "Find-Module -Name 'ExchangeOnlineManagement' -Repository 'PSGallery' -MinimumVersion 2.0.4-Preview2 -AllowPrerelease | Save-Module -Path '/opt/microsoft/powershell/7/Modules'" && \ pwsh -Command "Find-Module -Name 'ExchangeOnlineManagement' -Repository 'PSGallery' -MinimumVersion 2.0.4-Preview2 -AllowPrerelease | Save-Module -Path '/opt/microsoft/powershell/7/Modules'" && \
pwsh -Command "Find-Module -Name 'PSWSMan' -Repository 'PSGallery' -AllowPrerelease | Save-Module -Path '/opt/microsoft/powershell/7/Modules'" && \ pwsh -Command "Find-Module -Name 'PSWSMan' -Repository 'PSGallery' -AllowPrerelease | Save-Module -Path '/opt/microsoft/powershell/7/Modules'"
VOLUME /data/scripts VOLUME /data/scripts