theohbrothers/docker-powershell

By theohbrothers

Updated 4 months ago

Dockerized powershell, based on mcr.microsoft.com/powershell, with useful tools 🐳

Image
1

100K+

theohbrothers/docker-powershell repository overview

docker-powershell

github-actions github-release docker-image-size

Dockerized powershell, based on mcr.microsoft.com/powershell, with Pester 4 and 5, and useful tools.

Tags

TagDockerfile Build Context
:7.5-alpine-3.20View
:7.5-alpine-3.20-gitView
:7.5-alpine-3.20-git-sopsView
:7.4-alpine-3.20View
:7.4-alpine-3.20-gitView
:7.4-alpine-3.20-git-sopsView
:7.3-alpine-3.17View
:7.3-alpine-3.17-gitView
:7.3-alpine-3.17-git-sopsView
:7.2-alpine-3.17View
:7.2-alpine-3.17-gitView
:7.2-alpine-3.17-git-sopsView
:7.1.5-alpine-3.13View
:7.1.5-alpine-3.13-gitView
:7.1.5-alpine-3.13-git-sopsView
:7.0.3-alpine-3.9View
:7.0.3-alpine-3.9-gitView
:7.0.3-alpine-3.9-git-sopsView
:6.2.4-alpine-3.8View
:6.2.4-alpine-3.8-gitView
:6.2.4-alpine-3.8-git-sopsView
:6.1.3-alpine-3.8View
:6.1.3-alpine-3.8-gitView
:6.1.3-alpine-3.8-git-sopsView
:7.5-ubuntu-24.04, :latestView
:7.5-ubuntu-24.04-gitView
:7.5-ubuntu-24.04-git-sopsView
:7.4-ubuntu-22.04View
:7.4-ubuntu-22.04-gitView
:7.4-ubuntu-22.04-git-sopsView
:7.3-ubuntu-22.04View
:7.3-ubuntu-22.04-gitView
:7.3-ubuntu-22.04-git-sopsView
:7.2-ubuntu-22.04View
:7.2-ubuntu-22.04-gitView
:7.2-ubuntu-22.04-git-sopsView
:7.1.5-ubuntu-20.04View
:7.1.5-ubuntu-20.04-gitView
:7.1.5-ubuntu-20.04-git-sopsView
:7.0.3-ubuntu-18.04View
:7.0.3-ubuntu-18.04-gitView
:7.0.3-ubuntu-18.04-git-sopsView
:6.2.4-ubuntu-18.04View
:6.2.4-ubuntu-18.04-gitView
:6.2.4-ubuntu-18.04-git-sopsView
:6.1.3-ubuntu-18.04View
:6.1.3-ubuntu-18.04-gitView
:6.1.3-ubuntu-18.04-git-sopsView
:6.0.4-ubuntu-16.04View
:6.0.4-ubuntu-16.04-gitView
:6.0.4-ubuntu-16.04-git-sopsView

Development

Requires Windows powershell or pwsh.

# Install Generate-DockerImageVariants module: https://github.com/theohbrothers/Generate-DockerImageVariants
Install-Module -Name Generate-DockerImageVariants -Repository PSGallery -Scope CurrentUser -Force -Verbose

# Edit ./generate templates

# Generate the variants
Generate-DockerImageVariants .
Variant versions

versions.json contains a list of Semver versions, one per line.

To update versions in versions.json:

./Update-Versions.ps1

To update versions in versions.json, and open a PR for each changed version, and merge successful PRs one after another (to prevent merge conflicts), and finally create a tagged release and close milestone:

$env:GITHUB_TOKEN = 'xxx'
./Update-Versions.ps1 -PR -AutoMergeQueue -AutoRelease

To perform a dry run, use -WhatIf.

Tag summary

Content type

Image

Digest

sha256:4968a2d4d

Size

155.9 MB

Last updated

4 months ago

docker pull theohbrothers/docker-powershell:master-3493c45-6.2.4-ubuntu-18.04-git-sops