1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00

add dbatools

This commit is contained in:
kev 2024-07-29 18:27:25 +08:00
parent cb593d0f92
commit 532922ba6d
3 changed files with 18 additions and 0 deletions

View File

@ -155,6 +155,7 @@ A collection of delicious docker recipes.
## Utility ## Utility
- [x] dbatools
- [x] registry-cli - [x] registry-cli
- [x] tldextract - [x] tldextract

11
dbatools/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
#
# 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

6
dbatools/README.md Normal file
View File

@ -0,0 +1,6 @@
dbatools
========
[dbatools][1] is PowerShell module that you may think of like a command-line SQL Server Management Studio.
[1]: https://github.com/dataplat/dbatools