HUB
Sign inSign up
powershell-7-7 logo

swaleio/powershell-7-7

By swaleio

•Updated 10 days ago

PowerShell 7.7 on Debian 13 slim for Swale workflows. Backs the powershell-7-7 task.

Image
0

81

swaleio/powershell-7-7 repository overview

⁠powershell-7-7

Swale-built image backing the powershell-7-7 task definition: PowerShell 7.7, 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.

  • Base: debian:13-slim
  • Installed: the powershell 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.7 line.
  • User: non-root swale (uid 1000)
  • No ENTRYPOINT: the task's exec.args are the full command line (pwsh -NoLogo -NoProfile -Command ...), with pwsh on PATH
  • WORKDIR /mnt/workspace

⁠Tags

Each tag is the version of PowerShell the image packages, such as 7.7.0. 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.

⁠Building

From the repository root:

docker build -t swaleio/powershell-7-7:dev images/powershell-7-7

Merging a change under images/powershell-7-7 publishes the image under its next tag; task definitions reference it by digest.


Built from images/powershell-7-7⁠ 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.

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⁠.

Tag summary
Recent tags
Content type
Image
Digest
sha256:068caffc0…
Size
121.7 MB
Last updated
10 days ago
docker pull swaleio/powershell-7-7:latest