2025-09-30 12:43:34 UTC
168 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:441900e46a304b5b2be3771e5763a57780052a0dd54d80049499da6b887736e9 - 17.4% (29.2 MB)
[#001] sha256:bbda5e0ea08e647a4ab7e4e9e3df4464aa0e97d31874eacf2d34be6764b174e6 - 18.07% (30.3 MB)
[#002] sha256:7f20f7ee2d88be578bf5739a9470d8166c3c57ed6976a01cac54a60f10e96fd4 - 0.0% (210 Bytes)
[#003] sha256:d3cbe5f21bf558cb1b33afe536cbee41e531e6ee1ea824ed81b532c1fcedbc9a - 0.23% (394 KB)
[#004] sha256:a76f14e567e1ee3b17564a19cbefa9d20301baafce5b20e89bea405e12f4f7a6 - 0.0% (436 Bytes)
[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#006] sha256:6a9107cd85ac1ca09848dcdcee5ff7f4e45bba43c26acabab81dbab28faeeb11 - 0.0% (191 Bytes)
[#007] sha256:8f27342a67b67f7e05cfbe73098ce3409cd602a1fe58e7c9ee7bece99b4bd46c - 41.94% (70.3 MB)
[#008] sha256:c41c7b3cd3f22bcdb4a790706bc93cfc8f7e06bd0f6a8e031d4fead2bc606e21 - 13.93% (23.3 MB)
[#009] sha256:30985194e1d8c80fb4fd6781d5efdc9fe1a0fc02fb51ec9e50887917db3bbab7 - 0.01% (20.3 KB)
[#010] sha256:07a489f173c51702aa03395440c3752111df83eff9b9dbe2d3d2e437eabcaf5c - 8.42% (14.1 MB)
/bin/sh -c #(nop) ARG RELEASE
2025-07-28 20:44:58 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2025-07-28 20:44:58 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2025-07-28 20:44:58 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2025-07-28 20:44:58 UTC/bin/sh -c #(nop) ADD file:e67907c77897d27192314f6c4fa0112b6f7dce3e127500516535cc50fe736c92 in /
2025-07-28 20:44:58 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-07-28 20:44:58 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-07-28 20:44:58 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-07-28 20:44:58 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c git lfs install --skip-repo # buildkit
2025-07-28 20:44:58 UTC (buildkit.dockerfile.v0)COPY /tmp/dumb-init/dumb-init /usr/bin # buildkit
2025-07-28 20:44:58 UTC (buildkit.dockerfile.v0)COPY ./helpers/entrypoint / # buildkit
2025-07-28 20:44:58 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c chmod +x /entrypoint # buildkit
2025-07-28 20:44:58 UTC (buildkit.dockerfile.v0)COPY ./scripts/ /usr/bin/ # buildkit
2025-07-28 20:44:58 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/usr/bin/dumb-init" "/entrypoint"]
2025-07-28 20:44:58 UTC (buildkit.dockerfile.v0)CMD ["sh"]
2025-07-28 20:44:58 UTC (buildkit.dockerfile.v0)COPY /tmp/pwsh /opt/microsoft/powershell/7 # buildkit
2025-07-28 20:44:58 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-07-28 20:44:58 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-07-28 20:44:58 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-07-28 20:44:58 UTC (buildkit.dockerfile.v0)CMD ["pwsh"]
2025-09-30 12:43:34 UTC (buildkit.dockerfile.v0)ARG TARGETOS=linux
2025-09-30 12:43:34 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=amd64
2025-09-30 12:43:34 UTC (buildkit.dockerfile.v0)ARG SRC_SUFFIX=
2025-09-30 12:43:34 UTC (buildkit.dockerfile.v0)ARG DST_SUFFIX=
2025-09-30 12:43:34 UTC (buildkit.dockerfile.v0)ARG DST_DIR=/usr/bin
2025-09-30 12:43:34 UTC (buildkit.dockerfile.v0)COPY gitlab-runner-helper.linux-amd64 /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.