Update 'Dockerfile'
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2020-09-30 07:52:12 +00:00
parent 85c56d72fc
commit 54fe60ae2b
1 changed files with 1 additions and 2 deletions

View File

@ -43,8 +43,7 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* && \
pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted' -Verbose" && \
#pwsh -Command "Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.4-Preview2 -AllowPrerelease -Verbose"
pwsh -Command "Find-Module -Name 'ExchangeOnlineManagement' -Repository 'PSGallery' | 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'"
VOLUME /data/scripts
VOLUME /etc/lighttpd/vhosts.d