Ubuntu 24.04 dev environment with Zsh (Oh My Zsh), PowerShell and DSC v3
4.1K
Ubuntu 24.04 development environment with PowerShell, DSC v3, and Zsh (Oh My Zsh & Powerlevel10k) pre-configured.
developer user with sudo accessdocker pull viscalyx/devshell-dsc:latest
Run the Container to launch an interactive development shell with your local project mounted:
Using Bash/Zsh:
# Run interactively, mounting current directory to /home/developer/work
docker run --rm -it \
-v "$(pwd)":/home/developer/work \
viscalyx/devshell-dsc:latest
Using PowerShell:
# Run interactively, mounting current directory to /home/developer/work
docker run --rm -it -v "${PWD}:/home/developer/work" viscalyx/devshell-dsc:latest
From your development machine, clone a DSC resource repository:
git clone [email protected]:dsccommunity/SqlServerDsc.git
cd SqlServerDsc
Start the container with the cloned repository mounted:
docker run --rm -it -v "$(pwd)":/home/developer/work viscalyx/devshell-dsc:latest
Once inside the container, for this example, start PowerShell
pwsh
Build the project, and then list available DSC resources:
./build.ps1 -ResolveDependency -Tasks build
dsc resource list --adapter Microsoft.Dsc/PowerShell
Content type
Image
Digest
sha256:96cd25f09…
Size
397.3 MB
Last updated
8 months ago
docker pull viscalyx/devshell-dsc