Skip to content

Latest commit

 

History

History
90 lines (74 loc) · 4.86 KB

README.md

File metadata and controls

90 lines (74 loc) · 4.86 KB

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

Tag Dockerfile Build Context
:7.4-alpine-3.17 View
:7.4-alpine-3.17-git View
:7.4-alpine-3.17-git-sops View
:7.3-alpine-3.17 View
:7.3-alpine-3.17-git View
:7.3-alpine-3.17-git-sops View
:7.2-alpine-3.17 View
:7.2-alpine-3.17-git View
:7.2-alpine-3.17-git-sops View
:7.1.5-alpine-3.13 View
:7.1.5-alpine-3.13-git View
:7.1.5-alpine-3.13-git-sops View
:7.0.3-alpine-3.9 View
:7.0.3-alpine-3.9-git View
:7.0.3-alpine-3.9-git-sops View
:6.2.4-alpine-3.8 View
:6.2.4-alpine-3.8-git View
:6.2.4-alpine-3.8-git-sops View
:6.1.3-alpine-3.8 View
:6.1.3-alpine-3.8-git View
:6.1.3-alpine-3.8-git-sops View
:7.4-ubuntu-22.04, :latest View
:7.4-ubuntu-22.04-git View
:7.4-ubuntu-22.04-git-sops View
:7.3-ubuntu-22.04 View
:7.3-ubuntu-22.04-git View
:7.3-ubuntu-22.04-git-sops View
:7.2-ubuntu-22.04 View
:7.2-ubuntu-22.04-git View
:7.2-ubuntu-22.04-git-sops View
:7.1.5-ubuntu-20.04 View
:7.1.5-ubuntu-20.04-git View
:7.1.5-ubuntu-20.04-git-sops View
:7.0.3-ubuntu-18.04 View
:7.0.3-ubuntu-18.04-git View
:7.0.3-ubuntu-18.04-git-sops View
:6.2.4-ubuntu-18.04 View
:6.2.4-ubuntu-18.04-git View
:6.2.4-ubuntu-18.04-git-sops View
:6.1.3-ubuntu-18.04 View
:6.1.3-ubuntu-18.04-git View
:6.1.3-ubuntu-18.04-git-sops View
:6.0.4-ubuntu-16.04 View
:6.0.4-ubuntu-16.04-git View
:6.0.4-ubuntu-16.04-git-sops View

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.