2025-05-16 17:48:15 UTC
160 MB
noninteractive
DOTNET_SYSTEM_GLOBALIZATION_INVARIANTfalse
LANGen_US.UTF-8
LC_ALLen_US.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
POWERSHELL_TELEMETRY_OPTOUT1
PSModuleAnalysisCachePath/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache
PS_INSTALL_FOLDER/opt/microsoft/powershell/7
[#000] sha256:2d1e6788c87b2dc252a7aee74dbfe135d16e6974623a88baa7406ad311b4dbf8 - 17.83% (28.5 MB)
[#001] sha256:f1223e85a5b8bf867a04434d1c066b74e24e335d296d7d9a4ac61582215d50a5 - 18.79% (30.1 MB)
[#002] sha256:ebbc5762113b9320d8287cfd6e51d4cd2a417589c486082a8f1372fcf9c8f515 - 0.0% (212 Bytes)
[#003] sha256:a436354aae7577919c8620d3fb0ceb85775a75148a51ddff7822675b50272c5c - 0.19% (316 KB)
[#004] sha256:b17c426bfe845e2e0e81919632132c1dd81ec0691e47e661a27285b29e334d5f - 0.0% (436 Bytes)
[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#006] sha256:6cabe60ee693c3a10b289cfefac0b8a8c0011d2c006b8226d66cc36c122cb779 - 0.0% (188 Bytes)
[#007] sha256:9eb7bcf7a4e572fca7500c31209684285d08b337ed7dcd9f7d1270de0d29aaaa - 42.15% (67.5 MB)
[#008] sha256:f440d80e1afe26ef1fdb401dbd44e72f820a23350735d7f33c4150ea01280bdf - 13.01% (20.8 MB)
[#009] sha256:96a65895d2fd978564a4767744aedca1cad60b6074ba30321d430fa181c26d07 - 0.01% (20.3 KB)
[#010] sha256:d9d2ddb27015b81cf884e48b27875ee0f9aa7a712c6f376a8c5c6835d4b87744 - 8.01% (12.8 MB)
/bin/sh -c #(nop) ARG RELEASE
2025-03-12 23:07:23 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2025-03-12 23:07:23 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2025-03-12 23:07:23 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2025-03-12 23:07:23 UTC/bin/sh -c #(nop) ADD file:918b7712da52a62e47b028978dd5fc952b2f7f7f0507ea2362c4ccd14120133c in /
2025-03-12 23:07:23 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update && apt-get install -y bash ca-certificates git git-lfs && rm -rf /var/lib/apt/lists/* # buildkit
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c git lfs install --skip-repo # buildkit
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)COPY /tmp/dumb-init/dumb-init /usr/bin # buildkit
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)COPY ./helpers/entrypoint / # buildkit
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c chmod +x /entrypoint # buildkit
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)COPY ./scripts/ /usr/bin/ # buildkit
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/usr/bin/dumb-init" "/entrypoint"]
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)CMD ["sh"]
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)COPY /tmp/pwsh /opt/microsoft/powershell/7 # buildkit
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)ENV PS_INSTALL_FOLDER=/opt/microsoft/powershell/7 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache POWERSHELL_TELEMETRY_OPTOUT=1 DEBIAN_FRONTEND=noninteractive
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update && apt-get install --no-install-recommends -y less locales ca-certificates gss-ntlmssp libicu74 libssl3 libc6 libgcc1 libgssapi-krb5-2 libstdc++6 zlib1g openssh-client && apt-get dist-upgrade -y && apt-get clean && rm -rf /var/lib/apt/lists/* && locale-gen $LANG && update-locale && chmod a+x,o-w ${PS_INSTALL_FOLDER}/pwsh && ln -s ${PS_INSTALL_FOLDER}/pwsh /usr/bin/pwsh && ln -s ${PS_INSTALL_FOLDER}/pwsh /usr/bin/pwsh-preview # buildkit
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c MAX_ATTEMPTS=5 ; ATTEMPT=1 ; while [ $ATTEMPT -le $MAX_ATTEMPTS ]; do if ls "$PSModuleAnalysisCachePath" > /dev/null 2>&1; then echo "PSModuleAnalysisCachePath is ready!" ; break; fi ; echo "Attempt $ATTEMPT/$MAX_ATTEMPTS: Waiting for PSModuleAnalysisCachePath..." ; pwsh -NoLogo -NoProfile -Command " \$ErrorActionPreference = 'Stop' ; \$ProgressPreference = 'SilentlyContinue' ; while(!(Test-Path -Path \$env:PSModuleAnalysisCachePath)) { Write-Host "'Waiting for $env:PSModuleAnalysisCachePath'" ; Start-Sleep -Seconds 6 ; }" ; ATTEMPT=$((ATTEMPT + 1)) ; done ; if ! ls "$PSModuleAnalysisCachePath" > /dev/null 2>&1; then echo "Error: PSModuleAnalysisCachePath was not found after maximum attempts." ; exit 1 ; fi # buildkit
2025-03-12 23:07:23 UTC (buildkit.dockerfile.v0)CMD ["pwsh"]
2025-05-16 17:48:15 UTC (buildkit.dockerfile.v0)ARG TARGETOS=linux
2025-05-16 17:48:15 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=arm64
2025-05-16 17:48:15 UTC (buildkit.dockerfile.v0)ARG SRC_SUFFIX=
2025-05-16 17:48:15 UTC (buildkit.dockerfile.v0)ARG DST_SUFFIX=
2025-05-16 17:48:15 UTC (buildkit.dockerfile.v0)ARG DST_DIR=/usr/bin
2025-05-16 17:48:15 UTC (buildkit.dockerfile.v0)COPY gitlab-runner-helper.linux-arm64 /usr/bin/gitlab-runner-helper # buildkit
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.