powershell (7.4-ubuntu-22.04)

Published 2026-02-15 19:51:35 +00:00 by gitea_admin

Installation

docker pull gitea.zalcoders.com/platform/powershell:7.4-ubuntu-22.04
sha256:4c2c33a62d57c2ae12e4cb5f0488980852e304809bee74cd317a53e3b80067f9

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in /
CMD ["/bin/bash"]
ARG PS_VERSION=7.3.0-preview.8
ARG PS_PACKAGE=powershell-preview_7.4.6-1.deb_amd64.deb
ARG PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-preview_7.4.6-1.deb_amd64.deb
ARG PS_INSTALL_VERSION=7-preview
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PS_INSTALL_FOLDER=/opt/microsoft/powershell/7 PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-Ubuntu-22.04
RUN |4 PS_VERSION=7.4.6 PS_PACKAGE=powershell-preview_7.4.6-1.deb_amd64.deb PS_PACKAGE_URL=https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/install/v7.4.6/powershell_7.4.6-1.deb_amd64.deb?fakesas=yes PS_INSTALL_VERSION=7 /bin/sh -c apt-get update && apt-get install --no-install-recommends -y /mnt/pwsh/powershell.deb && apt-get install --no-install-recommends -y less locales ca-certificates gss-ntlmssp libicu70 libssl3 libc6 libgcc1 libgssapi-krb5-2 liblttng-ust1 libstdc++6 zlib1g openssh-client && apt-get dist-upgrade -y && locale-gen $LANG && update-locale && export POWERSHELL_TELEMETRY_OPTOUT=1 && chmod a+x,o-w ${PS_INSTALL_FOLDER}/pwsh && ln -sf ${PS_INSTALL_FOLDER}/pwsh /usr/bin/pwsh && ln -sf ${PS_INSTALL_FOLDER}/pwsh /usr/bin/pwsh-preview && pwsh -NoLogo -NoProfile -Command " \$ErrorActionPreference = 'Stop' ; \$ProgressPreference = 'SilentlyContinue' ; while(!(Test-Path -Path \$env:PSModuleAnalysisCachePath)) { Write-Host "'Waiting for $env:PSModuleAnalysisCachePath'" ; Start-Sleep -Seconds 6 ; }" # buildkit
CMD ["pwsh-preview"]

Labels

Key Value
com.visualstudio.mscodehub.image.build.buildnumber PSDocker-Build-544077-version_v7.4.6_channel_stable_01
com.visualstudio.mscodehub.image.build.builduri vstfs:///Build/Build/544077
com.visualstudio.mscodehub.image.build.definitionname PowerShell-Docker-Image-Build-Official
com.visualstudio.mscodehub.image.build.repository.name PowerShell-Docker
com.visualstudio.mscodehub.image.build.repository.uri https://mscodehub.visualstudio.com/PowerShellCore/_git/PowerShell-Docker
com.visualstudio.mscodehub.image.build.sourcebranchname master-ado
com.visualstudio.mscodehub.image.build.sourceversion e3af4cb60a7b551492aa355dcc2388c4043e55a7
com.visualstudio.mscodehub.image.system.teamfoundationcollectionuri https://mscodehub.visualstudio.com/
com.visualstudio.mscodehub.image.system.teamproject PowerShellCore
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 22.04
Details
Container
2026-02-15 19:51:35 +00:00
0
OCI / Docker
linux/amd64
123 MiB
Versions (1) View all
7.4-ubuntu-22.04 2026-02-15