2025-02-24 15:25:27 UTC
179 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:86e5016c269355b382c9cabab4f6646d56d75914f20d545289970436dae431b1 - 15.24% (27.3 MB)
[#001] sha256:a16de995c53122f8bbfd61c5775bb50a4751ad61d88a5cc3bf83c07c6f9694bc - 22.34% (39.9 MB)
[#002] sha256:763efe7933e6757647ac4261b78462832c87d9c919eeab5920be7882c86a277d - 0.0% (212 Bytes)
[#003] sha256:525d2d5e3de9520a11676c8775929f170866296ce0b73021b652ea7eaeb765d7 - 0.21% (388 KB)
[#004] sha256:5fe801bbcf780660226a99e6ea919af7b3438d134369e322c5c1ea35c6bb0ef5 - 0.0% (435 Bytes)
[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#006] sha256:68e554f1122bbbe1d92b3dc1938227a96f07b58c2ba8041a797ad8a3becf501a - 0.0% (197 Bytes)
[#007] sha256:aefc37ac3ca1af86075c9fac5dca9beb41693f95d5fbcf791fa90b92d9dc36d4 - 39.31% (70.3 MB)
[#008] sha256:0d56baeee9ca3501ba952b92cdb1c47cfa9340b816114665848dbf7db85d9d02 - 15.22% (27.2 MB)
[#009] sha256:a2e4e3cfeede9a56224e9f009dee1bcf08e24dfc63fc7d60faf76d95eca1582d - 0.01% (20.3 KB)
[#010] sha256:747da478419def290a3aa4fe52a737c4f30331010a2fce390a456669491bb893 - 7.67% (13.7 MB)
/bin/sh -c #(nop) ARG RELEASE
2024-10-11 03:38:25 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-10-11 03:38:25 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-10-11 03:38:25 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04
2024-10-11 03:38:27 UTC/bin/sh -c #(nop) ADD file:7486147a645d8835a5181c79f00a3606c6b714c83bcbfcd8862221eb14690f9e in /
2024-10-11 03:38:27 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-01-28 21:25:16 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-01-28 21:25:16 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-01-28 21:25:16 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c git lfs install --skip-repo # buildkit
2025-01-28 21:25:16 UTC (buildkit.dockerfile.v0)COPY /tmp/dumb-init/dumb-init /usr/bin # buildkit
2025-01-28 21:25:16 UTC (buildkit.dockerfile.v0)COPY ./helpers/entrypoint / # buildkit
2025-01-28 21:25:16 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c chmod +x /entrypoint # buildkit
2025-01-28 21:25:16 UTC (buildkit.dockerfile.v0)COPY ./scripts/ /usr/bin/ # buildkit
2025-01-28 21:25:16 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/usr/bin/dumb-init" "/entrypoint"]
2025-01-28 21:25:16 UTC (buildkit.dockerfile.v0)CMD ["sh"]
2025-01-28 21:25:16 UTC (buildkit.dockerfile.v0)COPY /tmp/pwsh /opt/microsoft/powershell/7 # buildkit
2025-01-28 21:25:16 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-01-28 21:25:16 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update && apt-get install --no-install-recommends -y less locales ca-certificates gss-ntlmssp libicu66 libssl1.1 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-01-28 21:25:16 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-01-28 21:25:16 UTC (buildkit.dockerfile.v0)CMD ["pwsh"]
2025-02-24 15:25:27 UTC (buildkit.dockerfile.v0)ARG TARGETOS=linux
2025-02-24 15:25:27 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=amd64
2025-02-24 15:25:27 UTC (buildkit.dockerfile.v0)ARG SRC_SUFFIX=
2025-02-24 15:25:27 UTC (buildkit.dockerfile.v0)ARG DST_SUFFIX=
2025-02-24 15:25:27 UTC (buildkit.dockerfile.v0)ARG DST_DIR=/usr/bin
2025-02-24 15:25:27 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.