mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
12 lines
288 B
Docker
12 lines
288 B
Docker
#
|
|
# Dockerfile for dbatools
|
|
#
|
|
|
|
FROM mcr.microsoft.com/powershell:7.4-alpine-3.17
|
|
|
|
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
|
|
|
RUN Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
|
|
|
|
RUN Install-Module -Name dbatools
|