PowerShell 7.6 LTS on Debian 13 slim for Swale workflows. Backs the powershell-7-6 task.
84
Swale-built image backing the powershell-7-6 task definition: PowerShell 7.6
LTS, installed from Microsoft's signed package repository for Debian 13.
Microsoft no longer publishes PowerShell container images; it ships PowerShell
inside its .NET SDK image instead, whose tag names the SDK rather than
PowerShell.
debian:13-slimpowershell-lts package from packages.microsoft.com, whose
signing key must match a pinned fingerprint before anything it signs is
trusted. Its version stays on the 7.6 line.swale (uid 1000)exec.args are the full command line
(pwsh -NoLogo -NoProfile -Command ...), with pwsh on PATHWORKDIR /mnt/workspaceEach tag is the version of PowerShell the image packages, such as 7.6.10. A
rebuild that keeps that version, to pick up a fixed base image or wrapper,
adds -r1, -r2, and so on. A tag is never reused; latest follows the
newest publish.
From the repository root:
docker build -t swaleio/powershell-7-6:dev images/powershell-7-6
Merging a change under images/powershell-7-6 publishes the image under its next tag;
task definitions reference it by digest.
Built from images/powershell-7-6 in the
swaleio/task-definitions repository. For how a task definition
references an image, see the
task definition reference
in the Swale documentation.
The Dockerfile is covered by the
MIT License.
PowerShell is MIT-licensed; its license and third-party notices ship inside the
image in /opt/microsoft/powershell/7-lts.
This image also contains software from other projects, each under its own
license. The license texts its Debian packages ship are inside the image, in
/usr/share/doc/<package>/copyright. Source code for its GPL and LGPL
components: https://snapshot.debian.org/package/<source-package>/<version>/.
We also provide that source code on request: see
Third-party software.
docker pull swaleio/powershell-7-6:latest