2022-06-13 22:10:00 UTC
158 MB
1.12
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION4.2.21~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:09db6f815738b9c8f25420c47e093f89abaabaa653f9678587b57e8f4400b5ff - 16.15% (25.5 MB)
[#001] sha256:86e1a9ea9fc6383f3da1d1499a45781e1b536c5f595f853b9daa881b32a4d14a - 0.0% (1.92 KB)
[#002] sha256:acba0862cc2c69e76d5bf39019a5a94d695392f0c17aae355f8e298a467cc6b6 - 1.8% (2.84 MB)
[#003] sha256:167dffd3eeafecdfa918aa4e0e99da461a4b112dcfb5e9c6006a59c91910d2cb - 3.53% (5.56 MB)
[#004] sha256:d9bea52ff16733f0ec96606d7bf69104d9538af98fdae84eff6885d4392fc701 - 0.0% (149 Bytes)
[#005] sha256:e6874d0322c68375037f5bf42d704c678cea6d898bc862f05603b52aa6c2dad3 - 0.0% (5.59 KB)
[#006] sha256:bb46f1eb46754391f3a81baa9854a3c4fe3e390e9bdf28f9e67edaf9c9efd727 - 0.0% (259 Bytes)
[#007] sha256:facd50b76ed88b49411b8c9eff21dd8a57bb8cda9dbce41981cb8bd6ab90b2f4 - 78.52% (124 MB)
[#008] sha256:c66825d12a2420f108de655756566bd1163005e593016073a0d6b5434714a736 - 0.0% (4.83 KB)
/bin/sh -c #(nop) ADD file:40290d9a94ae76c35ab1f57178130ce1c5b976e34a91e77472ecf7e945ab64f9 in /
2022-06-06 22:21:05 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-06-07 00:33:42 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
2022-06-07 00:33:51 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl ; if ! command -v ps > /dev/null; then apt-get install -y --no-install-recommends procps; fi; rm -rf /var/lib/apt/lists/*
2022-06-07 00:33:51 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
2022-06-07 00:33:51 UTC/bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
2022-06-07 00:34:03 UTC/bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget ; if ! command -v gpg > /dev/null; then apt-get install -y --no-install-recommends gnupg dirmngr; savedAptMark="$savedAptMark gnupg dirmngr"; elif gpg --version | grep -q '^gpg (GnuPG) 1\.'; then apt-get install -y --no-install-recommends gnupg-curl; fi; 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; command -v gpgconf && gpgconf --kill all || :; rm -r "$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
2022-06-07 00:34:04 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2022-06-13 22:09:30 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; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME"
2022-06-13 22:09:30 UTC/bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
2022-06-13 22:09:30 UTC/bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
2022-06-13 22:09:30 UTC/bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2022-06-13 22:09:30 UTC/bin/sh -c #(nop) ENV MONGO_MAJOR=testing
2022-06-13 22:09:31 UTC/bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.gpg ] http://$MONGO_REPO/apt/ubuntu bionic/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
2022-06-13 22:09:31 UTC/bin/sh -c #(nop) ENV MONGO_VERSION=4.2.21~rc0
2022-06-13 22:09:59 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
2022-06-13 22:09:59 UTC/bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
2022-06-13 22:09:59 UTC/bin/sh -c #(nop) ENV HOME=/data/db
2022-06-13 22:09:59 UTC/bin/sh -c #(nop) COPY file:b7b44e96082c97da2e7f6248f8bbb2edd837542169af52bcc3f53a0cf8b74b7e in /usr/local/bin/
2022-06-13 22:10:00 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-06-13 22:10:00 UTC/bin/sh -c #(nop) EXPOSE 27017
2022-06-13 22:10:00 UTC/bin/sh -c #(nop) CMD ["mongod"]
2022-06-15 21:18:12 UTC
2.39 GB
7259970fbba704936884a89ef90edde12e54c5ff59138185af82a2a66e91d28b
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.21-rc0-signed.msi
MONGO_VERSION4.2.21-rc0
[#000] sha256:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 56.04% (1.34 GB)
[#001] sha256:6c71967ff41928927e4c407171e4ffbac3c9ab4221eb64f5ca5a34ff4c230567 - 32.83% (803 MB)
[#002] sha256:3379fc6ae767c051adebaf0b48ae517fb6ba89d6b73c778e3e5675865b8b44fb - 0.0% (1.41 KB)
[#003] sha256:ed0b1ed3f0a3c909b237fea01085396a3a5134b36cbdc84f6d51cfda4c552256 - 0.0% (1.39 KB)
[#004] sha256:47902202f275395f20c5598db5efc4ec06fe99aa426b2b29186af1f35b478b6e - 0.0% (1.39 KB)
[#005] sha256:8debab92c1c42707bc86f28cf91097bfba1e588435bf8c18c24572034e3b03c0 - 0.0% (1.41 KB)
[#006] sha256:42b590609b4443c5a9f6ec1999e76bfbb280d1b5e0939c42e54f16b174158a29 - 11.13% (272 MB)
[#007] sha256:2b4997f544bff7fc2d6c78a9fb8e87591b9c603f6d65830c4d66e5318d760aa8 - 0.0% (1.39 KB)
[#008] sha256:afeec5af94b384714d2fe521db258f615edabae16e133da53f92e32042f80397 - 0.0% (1.39 KB)
[#009] sha256:60158e807b60cf6b68cd4787b60c8a7c88f9d408180e1385f34e600ad9b27e90 - 0.0% (1.4 KB)
Apply image 10.0.20348.643
2022-06-09 04:32:50 UTCInstall update 10.0.20348.768
2022-06-15 14:31:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-06-15 21:16:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.21-rc0
2022-06-15 21:16:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.21-rc0-signed.msi
2022-06-15 21:16:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=7259970fbba704936884a89ef90edde12e54c5ff59138185af82a2a66e91d28b
2022-06-15 21:18:08 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=Client,ImportExportTools,MiscellaneousTools,MonitoringTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.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 ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2022-06-15 21:18:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-06-15 21:18:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-06-15 21:18:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2022-06-15 21:21:16 UTC
2.75 GB
7259970fbba704936884a89ef90edde12e54c5ff59138185af82a2a66e91d28b
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.21-rc0-signed.msi
MONGO_VERSION4.2.21-rc0
[#000] sha256:b111c3320c949bea81612bf4554f1b6592c2f504920b5bf57ba340a1d4d52c93 - 63.67% (1.75 GB)
[#001] sha256:fc6ae6c5aa2b4920ae68469c5e7e7c3a3c85e5eaafc24660e7b3adb21d6fce77 - 26.66% (750 MB)
[#002] sha256:14def1e29581c5e5d0af7fdf9ff44ed6536e79561eb0f0cdff89e322fb87c423 - 0.0% (1.39 KB)
[#003] sha256:ac9aadd599c45225adf35fb8804ce6e38841ff4438227b117a5410e6059f3052 - 0.0% (1.39 KB)
[#004] sha256:64ccc9544e3cc2f201a127bed1075b6a83afaae6090a627052d49cd1e96023ee - 0.0% (1.38 KB)
[#005] sha256:17320e12014088e6b6fbf0826a17c82adf78c5fc6838215efe7d3a92d0345ef0 - 0.0% (1.4 KB)
[#006] sha256:7018ca205bef2ff38e7630a9f142cd814848f64994033011c1dcb01a9d2e2718 - 9.67% (272 MB)
[#007] sha256:5b8273e522f77c52a767d0767631bc85e744da29bbe3457e87b65e98090411e9 - 0.0% (1.39 KB)
[#008] sha256:22ae0dbb76f039a3d320e25b8c41257e1eab3a89e0d0fadc171f58da926fafd7 - 0.0% (1.4 KB)
[#009] sha256:8a5d83e141714251f681419ff0beff3159994bfd41f89cba9010df919c9041f5 - 0.0% (1.39 KB)
Apply image 10.0.17763.2803
2022-06-09 19:41:03 UTCInstall update 10.0.17763.3046
2022-06-15 14:40:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-06-15 21:18:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.21-rc0
2022-06-15 21:18:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.21-rc0-signed.msi
2022-06-15 21:18:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=7259970fbba704936884a89ef90edde12e54c5ff59138185af82a2a66e91d28b
2022-06-15 21:21:12 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=Client,ImportExportTools,MiscellaneousTools,MonitoringTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.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 ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2022-06-15 21:21:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-06-15 21:21:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-06-15 21:21:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2022-06-13 23:28:20 UTC
148 MB
1.12
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION4.2.21~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:8376114ff9b387126c379fb7f6f90b3752e3082ce48b0c727c0e1b683e1244da - 15.25% (22.6 MB)
[#001] sha256:3958d13898913b6e225cd1c9040067767bbb001d7e220e75453a9c6e90683147 - 0.0% (1.86 KB)
[#002] sha256:a045e199bb8f3de2ac7acf5e3fad44d3f59dd19b539ca7a3a6ab45fb872a47ad - 1.71% (2.55 MB)
[#003] sha256:713c975755146f9ec9ab8f8b43a52cba87f6f34e6cea49d1fe4c72b4a1710195 - 3.34% (4.95 MB)
[#004] sha256:cb9310b98ad49c194e272103b3d80f36f6a60c26de8443ee17f3dfb8e80a749d - 0.0% (115 Bytes)
[#005] sha256:abd585e2caab55a093f9fe5ee52caac5b2660dd1b1ea83141bc3d3dc5d350376 - 0.0% (5.53 KB)
[#006] sha256:49c65bf0a6c8c8cfbe7028decbfb978be831eaf7ac60f9e2f7262ececb045d9e - 0.0% (262 Bytes)
[#007] sha256:814f04c9c40f9760beec7e6c47fe24491e4b5b0de08be9456015df83a1cc7b90 - 79.69% (118 MB)
[#008] sha256:51223f885d0cd91c27ba4503c11063c08d4e475bfffef465760334d7dad2d60a - 0.0% (4.84 KB)
/bin/sh -c #(nop) ADD file:c562239bf6872889a22d15dda4c7dab53664b0697b60b9d09ba352b7c66719ce in /
2022-06-07 01:25:08 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-06-07 05:34:28 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
2022-06-07 05:34:39 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl ; if ! command -v ps > /dev/null; then apt-get install -y --no-install-recommends procps; fi; rm -rf /var/lib/apt/lists/*
2022-06-07 05:34:39 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
2022-06-07 05:34:40 UTC/bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
2022-06-07 05:34:56 UTC/bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget ; if ! command -v gpg > /dev/null; then apt-get install -y --no-install-recommends gnupg dirmngr; savedAptMark="$savedAptMark gnupg dirmngr"; elif gpg --version | grep -q '^gpg (GnuPG) 1\.'; then apt-get install -y --no-install-recommends gnupg-curl; fi; 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; command -v gpgconf && gpgconf --kill all || :; rm -r "$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
2022-06-07 05:34:57 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2022-06-13 23:27:50 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; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME"
2022-06-13 23:27:50 UTC/bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
2022-06-13 23:27:51 UTC/bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
2022-06-13 23:27:52 UTC/bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2022-06-13 23:27:53 UTC/bin/sh -c #(nop) ENV MONGO_MAJOR=testing
2022-06-13 23:27:54 UTC/bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.gpg ] http://$MONGO_REPO/apt/ubuntu bionic/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
2022-06-13 23:27:55 UTC/bin/sh -c #(nop) ENV MONGO_VERSION=4.2.21~rc0
2022-06-13 23:28:14 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
2022-06-13 23:28:15 UTC/bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
2022-06-13 23:28:16 UTC/bin/sh -c #(nop) ENV HOME=/data/db
2022-06-13 23:28:18 UTC/bin/sh -c #(nop) COPY file:b7b44e96082c97da2e7f6248f8bbb2edd837542169af52bcc3f53a0cf8b74b7e in /usr/local/bin/
2022-06-13 23:28:18 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-06-13 23:28:19 UTC/bin/sh -c #(nop) EXPOSE 27017
2022-06-13 23:28:20 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.