From 532922ba6dda68149eb0eed6b1ee75026877027b Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 29 Jul 2024 18:27:25 +0800 Subject: [PATCH] add dbatools --- README.md | 1 + dbatools/Dockerfile | 11 +++++++++++ dbatools/README.md | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 dbatools/Dockerfile create mode 100644 dbatools/README.md diff --git a/README.md b/README.md index 1ccba46..15671c1 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,7 @@ A collection of delicious docker recipes. ## Utility +- [x] dbatools - [x] registry-cli - [x] tldextract diff --git a/dbatools/Dockerfile b/dbatools/Dockerfile new file mode 100644 index 0000000..8a38e75 --- /dev/null +++ b/dbatools/Dockerfile @@ -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 diff --git a/dbatools/README.md b/dbatools/README.md new file mode 100644 index 0000000..12fe996 --- /dev/null +++ b/dbatools/README.md @@ -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