1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/dbatools/Dockerfile

12 lines
288 B
Docker
Raw Permalink Normal View History

2024-07-29 12:27:25 +02:00
#
# 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