2023-06-02 01:27:23 UTC
238 MB
1.16
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION7.0.0~rc2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:d1669123f28121211977ed38e663dca1a397c0c001e5386598b96c89b1b1cd51 - 12.17% (29 MB)
[#001] sha256:d3fd4571e6035d5998ac1e8a4f0599df4fb8401f24d313b893511a0803e15035 - 0.0% (1.79 KB)
[#002] sha256:0e66ccdce995876e1e93a7fb37086f0240f422ed910fc0527b4f5bbd2f44993d - 2.02% (4.82 MB)
[#003] sha256:40a83fbdd8b3bf0b322e6eb471944d7bc1d42947fd09df3a8e8c677b61911eae - 0.5% (1.19 MB)
[#004] sha256:6634acc50e6b69e8bc40ee2ed41c7458c1967b539c932943924d2e45286f0147 - 0.0% (149 Bytes)
[#005] sha256:1cb1448c897113033e716c3404ed9238bab08c4d4e407b16ad5b3c6ec3ef3863 - 0.0% (6.09 KB)
[#006] sha256:ad6cbeb75262bca1fe7759eb0fb7f308776fd601461fd87ed671f83070fac1ca - 0.0% (271 Bytes)
[#007] sha256:4b7337d9152bf3e3c8e5cd6a03a4df9b66e7596102bcda331fe863b6bdd4dc9a - 0.0% (268 Bytes)
[#008] sha256:1f57a3ac9ff373f925d112e2d56905df7b09019ddcaa7a9904a38c575c940f82 - 85.3% (203 MB)
[#009] sha256:3320e545b2b5bdd6eadaba3811d207f8f3e70826451be56c7877da39bab99c09 - 0.0% (4.9 KB)
/bin/sh -c #(nop) ARG RELEASE
2023-05-22 17:45:50 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2023-05-22 17:45:50 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2023-05-22 17:45:50 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2023-05-22 17:45:52 UTC/bin/sh -c #(nop) ADD file:2fd2684e989d275c95e18b6f6e9ccf57ca1382ecd8faf4a66961ede28102dedf in /
2023-05-22 17:45:52 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2023-06-02 01:26:36 UTC/bin/sh -c set -eux; groupadd --gid 999 --system mongodb; useradd --uid 999 --system --gid mongodb --home-dir /data/db mongodb; mkdir -p /data/db /data/configdb; chown -R mongodb:mongodb /data/db /data/configdb
2023-06-02 01:26:50 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg jq numactl procps ; rm -rf /var/lib/apt/lists/*
2023-06-02 01:26:50 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.16
2023-06-02 01:26:50 UTC/bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
2023-06-02 01:26:57 UTC/bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget ; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; wget -O /js-yaml.js "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/dist/js-yaml.js"; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true
2023-06-02 01:26:57 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2023-06-02 01:27:00 UTC/bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- '20691EEC35216C63CAF66CE1656408E390CFB1F5' '39BD841E4BE5FB195A65400E6A26B1AE64C3C388' '9DA31620334BD75D9DCB49F368818C72E52529D4' 'E162F504A20CDF15827F718D4B7C549A058F8B6B' 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11'; for key; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; mkdir -p /etc/apt/keyrings; gpg --batch --export "$@" > /etc/apt/keyrings/mongodb.gpg; gpgconf --kill all; rm -rf "$GNUPGHOME"
2023-06-02 01:27:00 UTC/bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
2023-06-02 01:27:00 UTC/bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
2023-06-02 01:27:00 UTC/bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2023-06-02 01:27:00 UTC/bin/sh -c #(nop) ENV MONGO_MAJOR=testing
2023-06-02 01:27:01 UTC/bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.gpg ] http://$MONGO_REPO/apt/ubuntu jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
2023-06-02 01:27:01 UTC/bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.gpg ] http://$MONGO_REPO/apt/ubuntu jammy/${MONGO_PACKAGE%-unstable}/6.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-previous.list"
2023-06-02 01:27:02 UTC/bin/sh -c #(nop) ENV MONGO_VERSION=7.0.0~rc2
2023-06-02 01:27:21 UTC/bin/sh -c set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y ${MONGO_PACKAGE}=$MONGO_VERSION ${MONGO_PACKAGE}-server=$MONGO_VERSION ${MONGO_PACKAGE}-shell=$MONGO_VERSION ${MONGO_PACKAGE}-mongos=$MONGO_VERSION ${MONGO_PACKAGE}-tools=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig
2023-06-02 01:27:23 UTC/bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
2023-06-02 01:27:23 UTC/bin/sh -c #(nop) ENV HOME=/data/db
2023-06-02 01:27:23 UTC/bin/sh -c #(nop) COPY file:e3d6a34db83fe880626bff5d0b8d720ae43720caac9c739cbd1d336a129dad2d in /usr/local/bin/
2023-06-02 01:27:23 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2023-06-02 01:27:23 UTC/bin/sh -c #(nop) EXPOSE 27017
2023-06-02 01:27:23 UTC/bin/sh -c #(nop) CMD ["mongod"]
2023-05-31 01:17:49 UTC
2.22 GB
3f92472aae25fa5f7336c8a062844fd01188e8e0deb7932f4bd9b4974cb51a7b
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.0-rc2-signed.msi
MONGO_VERSION7.0.0-rc2
[#000] sha256:1a65b089bc835b0c3700397b1935e97cf469b0891bb4de3942c8dfbe4b672d47 - 58.02% (1.29 GB)
[#001] sha256:5829cfc8807e3c8e6f804ec45e3696c2b2e76cd39141b9c20486f8f070f56002 - 16.28% (371 MB)
[#002] sha256:22ae2b2372db6d2d1ac04a5297e71fc9a798a078f7d1a0bcccae77193e8b58b2 - 0.0% (1.39 KB)
[#003] sha256:92ffb9b2891599872bd452d659bc052cf9faddf5865c51c8d2d49729fb6fd99c - 0.0% (1.39 KB)
[#004] sha256:13d5f4787c8990b0be0a396368e9824930bcd11dca602913888e823e6745a8c6 - 0.0% (1.38 KB)
[#005] sha256:aac8dcfcfff4a3556eec432eea4255b8a41939930776b8177313ac2b928bbf70 - 0.0% (1.38 KB)
[#006] sha256:37d2318f16165649847d4171abbcf30091c391b0712aabcd5a12c2b557fbb449 - 25.69% (585 MB)
[#007] sha256:812f87f5686d48b1172d1aa700ee9a7b4467fe302c83cc23e19a20a9461aa609 - 0.0% (1.38 KB)
[#008] sha256:9013a786d3b634e6445f72c52a7e453f943db8d4e58606c09d04783888a31f40 - 0.0% (1.38 KB)
[#009] sha256:687cfdc9706f1fc85e240cdac3a4da1f2ca8c144f74e55d3b3e71207d1bb1c21 - 0.0% (1.38 KB)
Apply image 10.0.20348.1487
2023-05-05 13:22:05 UTCInstall update 10.0.20348.1726
2023-05-10 01:53:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-05-31 01:15:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.0-rc2
2023-05-31 01:15:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.0-rc2-signed.msi
2023-05-31 01:15:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=3f92472aae25fa5f7336c8a062844fd01188e8e0deb7932f4bd9b4974cb51a7b
2023-05-31 01:17:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2023-05-31 01:17:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-05-31 01:17:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-05-31 01:17:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2023-05-31 01:21:23 UTC
2.5 GB
3f92472aae25fa5f7336c8a062844fd01188e8e0deb7932f4bd9b4974cb51a7b
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.0-rc2-signed.msi
MONGO_VERSION7.0.0-rc2
[#000] sha256:6e222c5ada69382aa2b4fe30b23ae56c7e3ada92712109d20f3edd457a6120b6 - 63.59% (1.59 GB)
[#001] sha256:e01de39a0c44e24aa1912078d32ee54389b71154e509138cc4f5d1de42e7a32a - 13.56% (347 MB)
[#002] sha256:f2a89be60a77cd8d520ec5f03d703ddbc15675dd1df4d95e041032cf08960af5 - 0.0% (1.36 KB)
[#003] sha256:a953bf2459cfcf8c600e1598e268dcc34dc791ff88265a7d3bcf532b79090ace - 0.0% (1.41 KB)
[#004] sha256:94f43393f7204dabbad3771667be2834220b4344ed241e39acfc9450e251c4bc - 0.0% (1.39 KB)
[#005] sha256:8a3975699bdddbedf85a1d084e6603cf4ac47675675cae2fac59a8ae48db4c58 - 0.0% (1.38 KB)
[#006] sha256:73e786aaa8a98466e3a8fa66f93fb4ff05949666766ec93fc94c22abbea46fc1 - 22.85% (585 MB)
[#007] sha256:5adc9c8fcc697ef6a74603fc9641e44ed7f6bf5df83ef8b6d1a2e0a5c89ed0a2 - 0.0% (1.39 KB)
[#008] sha256:74d0d1652b0faf7945f9fbfe13fe3d4d83b7bd4693d43dbf23181da235a84f94 - 0.0% (1.38 KB)
[#009] sha256:08e161acdcdca76a65b533c5cc7117e6199e1995b5e3b5384992380ee15b3459 - 0.0% (1.39 KB)
Apply image 10.0.17763.3887
2023-05-05 12:05:28 UTCInstall update 10.0.17763.4377
2023-05-10 01:56:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-05-31 01:18:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.0-rc2
2023-05-31 01:18:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.0-rc2-signed.msi
2023-05-31 01:18:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=3f92472aae25fa5f7336c8a062844fd01188e8e0deb7932f4bd9b4974cb51a7b
2023-05-31 01:21:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2023-05-31 01:21:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-05-31 01:21:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-05-31 01:21:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2023-06-01 23:35:05 UTC
231 MB
1.16
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION7.0.0~rc2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:6c7698a779f6d8c45a39a6721fb5cce267d66ff8ab5181c55aa6d02c8ddacd01 - 11.7% (27.1 MB)
[#001] sha256:0bf03b60a39ae25134deb53f42e4002fa81339aad24608180a4aae7e64d70cd5 - 0.0% (1.79 KB)
[#002] sha256:8c113973dff3b28b9198806e84fbbc6cc893ae56fa8d80f1bedec18c70655d73 - 2.06% (4.76 MB)
[#003] sha256:9a26b2cb251fdc9f6d66e0c3890a2ceec46f1e45f3d9ec57f1f659dffb9b9d0d - 0.49% (1.13 MB)
[#004] sha256:d09a4405ccbc320c10f26573b811c3c42f8f3d65daa7a5a3c58d4c41222d0722 - 0.0% (149 Bytes)
[#005] sha256:78c9e7cac29119f6d4af749052c4083b4a70684ec5ad2caf4240b551e49c66a6 - 0.0% (6.09 KB)
[#006] sha256:eb580d08e00de708ac46ed5d762264fccc5b054886659ba9a5e574bb5cda373a - 0.0% (266 Bytes)
[#007] sha256:09f73f55611bbcf8896c578cfea64d3f2865adaa3ded330897d68c6d054c5fc7 - 0.0% (270 Bytes)
[#008] sha256:88a6fb1f9a1abc8accb6145cffee39c81c1ce505b5e0060ad64def99961fabc7 - 85.74% (198 MB)
[#009] sha256:f9118659dabb7ee24b3e0b460daa47f328a8ca99c1137872018a6983d2b47934 - 0.0% (4.9 KB)
/bin/sh -c #(nop) ARG RELEASE
2023-05-22 17:53:01 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2023-05-22 17:53:01 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2023-05-22 17:53:01 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2023-05-22 17:53:07 UTC/bin/sh -c #(nop) ADD file:f0435ed8dcf91cc69ec63b6b16d9efac56e5a6a7ec518e1fcc3df7457d3113ed in /
2023-05-22 17:53:08 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2023-06-01 23:34:19 UTC/bin/sh -c set -eux; groupadd --gid 999 --system mongodb; useradd --uid 999 --system --gid mongodb --home-dir /data/db mongodb; mkdir -p /data/db /data/configdb; chown -R mongodb:mongodb /data/db /data/configdb
2023-06-01 23:34:30 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg jq numactl procps ; rm -rf /var/lib/apt/lists/*
2023-06-01 23:34:30 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.16
2023-06-01 23:34:30 UTC/bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
2023-06-01 23:34:37 UTC/bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget ; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; wget -O /js-yaml.js "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/dist/js-yaml.js"; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true
2023-06-01 23:34:38 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2023-06-01 23:34:41 UTC/bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- '20691EEC35216C63CAF66CE1656408E390CFB1F5' '39BD841E4BE5FB195A65400E6A26B1AE64C3C388' '9DA31620334BD75D9DCB49F368818C72E52529D4' 'E162F504A20CDF15827F718D4B7C549A058F8B6B' 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11'; for key; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; mkdir -p /etc/apt/keyrings; gpg --batch --export "$@" > /etc/apt/keyrings/mongodb.gpg; gpgconf --kill all; rm -rf "$GNUPGHOME"
2023-06-01 23:34:41 UTC/bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
2023-06-01 23:34:41 UTC/bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
2023-06-01 23:34:41 UTC/bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2023-06-01 23:34:41 UTC/bin/sh -c #(nop) ENV MONGO_MAJOR=testing
2023-06-01 23:34:41 UTC/bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.gpg ] http://$MONGO_REPO/apt/ubuntu jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
2023-06-01 23:34:42 UTC/bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.gpg ] http://$MONGO_REPO/apt/ubuntu jammy/${MONGO_PACKAGE%-unstable}/6.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-previous.list"
2023-06-01 23:34:42 UTC/bin/sh -c #(nop) ENV MONGO_VERSION=7.0.0~rc2
2023-06-01 23:35:00 UTC/bin/sh -c set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y ${MONGO_PACKAGE}=$MONGO_VERSION ${MONGO_PACKAGE}-server=$MONGO_VERSION ${MONGO_PACKAGE}-shell=$MONGO_VERSION ${MONGO_PACKAGE}-mongos=$MONGO_VERSION ${MONGO_PACKAGE}-tools=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig
2023-06-01 23:35:04 UTC/bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
2023-06-01 23:35:04 UTC/bin/sh -c #(nop) ENV HOME=/data/db
2023-06-01 23:35:04 UTC/bin/sh -c #(nop) COPY file:e3d6a34db83fe880626bff5d0b8d720ae43720caac9c739cbd1d336a129dad2d in /usr/local/bin/
2023-06-01 23:35:04 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2023-06-01 23:35:05 UTC/bin/sh -c #(nop) EXPOSE 27017
2023-06-01 23:35:05 UTC/bin/sh -c #(nop) CMD ["mongod"]
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.