my-ps (latest)

Published 2024-03-18 11:23:24 +00:00 by JonatanRek

Installation

docker pull git.steelants.cz/jonatanrek/my-ps:latest
sha256:0730bfba336513ba3b9b975ea0759a3dc08d21a7436e4165dc87c06f395f0986

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:7f9a3c5a4231ed19174c21d17ce05d84d568cff6d3a0c2a1d7c3a9be5e45c02c in /
CMD ["/bin/bash"]
ARG PS_VERSION=7.3.0-preview.8
ARG PS_PACKAGE=powershell-preview_7.4.1-1.deb_amd64.deb
ARG PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-preview_7.4.1-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.1 PS_PACKAGE=powershell-preview_7.4.1-1.deb_amd64.deb PS_PACKAGE_URL=https://pscoretestdata.blob.core.windows.net:443/v7-4-1/powershell_7.4.1-1.deb_amd64.deb?skoid=aeba686e-5fe5-41b7-a962-f6eda73787bd&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2024-02-22T21%3A31%3A37Z&ske=2024-02-23T00%3A31%3A37Z&sks=b&skv=2023-08-03&sv=2023-08-03&spr=https&se=2024-02-23T00%3A31%3A37Z&sr=c&sp=r&sig=01y3Qc1srEwifSoLaQRUO7LfS%2BuLYO5SecEqT34Ughc%3D 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"]
VOLUME [[/app]]
WORKDIR /app
STOPSIGNAL SIGTERM
ENTRYPOINT ["/bin/bash" "/app/run.sh"]

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 22.04
Details
Container
2024-03-18 11:23:24 +00:00
0
OCI / Docker
linux/amd64
123 MiB
Versions (1) View all
latest 2024-03-18