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

This commit is contained in:
Danny Bessems 2020-09-30 07:30:59 +00:00
parent b7a3c7c29e
commit 85c56d72fc

View File

@ -43,7 +43,8 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \
apt-get autoremove -y && \ apt-get autoremove -y && \
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 "Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.4-Preview2 -AllowPrerelease -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'"
VOLUME /data/scripts VOLUME /data/scripts
VOLUME /etc/lighttpd/vhosts.d VOLUME /etc/lighttpd/vhosts.d