2022-08-04 19:58:08 UTC
158 MB
1.12
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION4.2.22~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:22c5ef60a68e3fa0bd8df52f48470e836e823434a3bead43e35e87098a0b01fa - 16.15% (25.5 MB)
[#001] sha256:e17898f097a0ab4d97fa62880bfb6caa2c23e3e52c5acfc240bf5ecfaa2aca2f - 0.0% (1.92 KB)
[#002] sha256:3ecdb7e159d015075834224d36f82bd8e2fcda9100225062e4760197c5b2f53e - 1.8% (2.84 MB)
[#003] sha256:f2c0b0bb210d7e46b36c536c13e86225b9449e7927d633c7db72e1f506703f27 - 3.52% (5.56 MB)
[#004] sha256:462df4cdb53b7d078086c5e092264a2b7c44706209ae47d9ed34423bbdf4fc9a - 0.0% (149 Bytes)
[#005] sha256:5ac33895212c182f259855a854cc028a05afc1364ba0c6a3ed747a4575c8bb8f - 0.0% (5.59 KB)
[#006] sha256:92e40d00f9ffad0a179c6ac7edd776b0631fb7c852a013b15c36412e36ec9a25 - 0.0% (261 Bytes)
[#007] sha256:f0e542fe079bad1c2438fde176296cecb6d992a3ae379f817d71700c08df626b - 78.52% (124 MB)
[#008] sha256:ffc9eb66c7ca5715cb4eba04c405ac5d69e220b8b315defe0f46aee748b22716 - 0.0% (4.83 KB)
/bin/sh -c #(nop) ADD file:0eb7f0555d03ff4f0755bba2c3d133e68737888f41390c17710f64b70c8e662a in /
2022-08-02 01:30:42 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-08-02 20:32:02 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-08-02 20:32:11 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-08-02 20:32:11 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
2022-08-02 20:32:12 UTC/bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
2022-08-02 20:32:23 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-08-02 20:32:23 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2022-08-04 19:57:45 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-08-04 19:57:45 UTC/bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
2022-08-04 19:57:45 UTC/bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
2022-08-04 19:57:46 UTC/bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2022-08-04 19:57:46 UTC/bin/sh -c #(nop) ENV MONGO_MAJOR=testing
2022-08-04 19:57:46 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-08-04 19:57:46 UTC/bin/sh -c #(nop) ENV MONGO_VERSION=4.2.22~rc0
2022-08-04 19:58:07 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-08-04 19:58:07 UTC/bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
2022-08-04 19:58:08 UTC/bin/sh -c #(nop) ENV HOME=/data/db
2022-08-04 19:58:08 UTC/bin/sh -c #(nop) COPY file:b7b44e96082c97da2e7f6248f8bbb2edd837542169af52bcc3f53a0cf8b74b7e in /usr/local/bin/
2022-08-04 19:58:08 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-08-04 19:58:08 UTC/bin/sh -c #(nop) EXPOSE 27017
2022-08-04 19:58:08 UTC/bin/sh -c #(nop) CMD ["mongod"]
2022-08-10 18:31:29 UTC
2.42 GB
a2cf68740de7dc9625d5aa364b699c9bd34be00388196b3299d4776869791a31
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.22-rc0-signed.msi
MONGO_VERSION4.2.22-rc0
[#000] sha256:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 55.2% (1.34 GB)
[#001] sha256:97b25a378238b615dc51216c4d87ce17fd3cc3dca9db458e8705d1a4c17e3bb7 - 33.81% (839 MB)
[#002] sha256:ff9b89cbdb5f88cb926263140643eb2bfad61fb092119830e290c8f8ff711c8f - 0.0% (1.32 KB)
[#003] sha256:ed389bacdddf1ab42f28e7b1b6b1bfb651b47429f543d295b8c9857cff7b5895 - 0.0% (1.39 KB)
[#004] sha256:7c4842633fcdef4370d34dcfe961159f7037588cd1ff873398f0f267c98b07fc - 0.0% (1.39 KB)
[#005] sha256:061bb72b5c207e08895fa0bbcf951eddebe9ccc1155b1d7c05d278b27f0f954a - 0.0% (1.38 KB)
[#006] sha256:327da32517c8087e788b610957f3aeda1339f872fd3aa4d5a83a7dfc02a7ec1d - 11.0% (273 MB)
[#007] sha256:fd93ffdd75143a03b2b59ddc82e377109df2a5ef61660f666d50588d4f54f1b0 - 0.0% (1.38 KB)
[#008] sha256:ee6d6383a89d5516aebf89c1d2336cf43e6b35979f516fbce52cd4769f00b52b - 0.0% (1.41 KB)
[#009] sha256:24eab60eed89aeae257917e3e95ce748c5588a1191bb9d82a7a1b474753e8151 - 0.0% (1.41 KB)
Apply image 10.0.20348.643
2022-08-06 02:59:35 UTCInstall update 10.0.20348.887
2022-08-10 13:33:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-08-10 18:29:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.22-rc0
2022-08-10 18:29:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.22-rc0-signed.msi
2022-08-10 18:29:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=a2cf68740de7dc9625d5aa364b699c9bd34be00388196b3299d4776869791a31
2022-08-10 18:31:25 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-08-10 18:31:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-08-10 18:31:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-08-10 18:31:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2022-08-10 18:35:11 UTC
2.76 GB
a2cf68740de7dc9625d5aa364b699c9bd34be00388196b3299d4776869791a31
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.22-rc0-signed.msi
MONGO_VERSION4.2.22-rc0
[#000] sha256:b111c3320c949bea81612bf4554f1b6592c2f504920b5bf57ba340a1d4d52c93 - 63.34% (1.75 GB)
[#001] sha256:294d77ac553d7210b662d07674ef9e39a6c2e88dc15b9d2788d51e509bc8b54e - 27.01% (763 MB)
[#002] sha256:da71148bcd96afa7027d6172acee93aad6002bfbe87cadf468260667c09b3a89 - 0.0% (1.4 KB)
[#003] sha256:90dd868a575bce31505f998fd2ea748aba274cfd4d1886c039347d68fddcac3e - 0.0% (1.37 KB)
[#004] sha256:7a2f44e7e506817e5c72f913e92020b605c23c2d2f4916d3c0b57cacb9dd2d0b - 0.0% (1.38 KB)
[#005] sha256:04ffe978bc7b86a2590398cf6d73f5f05c89533339cd8690af5d7c516c9f1421 - 0.0% (1.42 KB)
[#006] sha256:f5f1abba691b5ad4bb338b58b967dab8efa337120e67c2798d0fe500239cc9e7 - 9.65% (273 MB)
[#007] sha256:7e20c8222e8b8947ac8cf3a961d04c3355afde535cfd5aa5ec356e2eb939f994 - 0.0% (1.39 KB)
[#008] sha256:8ab9a86a571184417d20d95a98313e79528fdf8362e440b76d1587f90587413e - 0.0% (1.36 KB)
[#009] sha256:eb960d8d9027d35a6264d1cc82c753ed58d48cba36528faed79e1fedf3751481 - 0.0% (1.37 KB)
Apply image 10.0.17763.2803
2022-08-06 18:30:32 UTCInstall update 10.0.17763.3287
2022-08-10 13:44:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-08-10 18:31:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.22-rc0
2022-08-10 18:31:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.22-rc0-signed.msi
2022-08-10 18:31:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=a2cf68740de7dc9625d5aa364b699c9bd34be00388196b3299d4776869791a31
2022-08-10 18:35:07 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-08-10 18:35:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-08-10 18:35:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-08-10 18:35:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2022-08-04 20:42:36 UTC
148 MB
1.12
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION4.2.22~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:d2f2687beb6dd5f04849c57d6d83cabdfa44ec5cc5062369416bff4844045533 - 15.25% (22.6 MB)
[#001] sha256:597558819f9097bd1ca6e5405eac61ba0594c0eb3b643fb048ec35d20db8fa01 - 0.0% (1.86 KB)
[#002] sha256:afd5af37180e2e9b02ac0873c73cec463ec9d26bf4e0fb71916845d58cf7f258 - 1.71% (2.54 MB)
[#003] sha256:83d52ee6aadedc8c40e1497c697f26d80e1066bf16d65088f4d63ac7290436d3 - 3.34% (4.95 MB)
[#004] sha256:c1f54bcc69d0c769392480f23251d9c2d26b5801c6510b30522a71f42a10ffbb - 0.0% (115 Bytes)
[#005] sha256:0718c8c5dec685c166a0252fda32c0c5d418fe6b30f77b932137733b532eb5ba - 0.0% (5.53 KB)
[#006] sha256:d6dce40f36a13eceace4c48217c8a5f601586740cf6036aa0e11c6b7afd365c1 - 0.0% (262 Bytes)
[#007] sha256:427deba0687d961268de2d64ecc0edc09e9dfb85c3a3237ad15034fce855be15 - 79.7% (118 MB)
[#008] sha256:de49dd44c254ab2ebb821989abc36a9af0fd39ad083757adcd71cfac8d28e5c5 - 0.0% (4.83 KB)
/bin/sh -c #(nop) ADD file:7002810c3cfdef12d2e13c49037e759257e42f5972f300411294e0239f3bdfe9 in /
2022-08-02 01:18:44 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-08-02 18:48:52 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-08-02 18:49:37 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-08-02 18:49:37 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
2022-08-02 18:49:38 UTC/bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
2022-08-02 18:49: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-08-02 18:49:57 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2022-08-04 20:41:25 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-08-04 20:41:26 UTC/bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
2022-08-04 20:41:27 UTC/bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
2022-08-04 20:41:28 UTC/bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2022-08-04 20:41:29 UTC/bin/sh -c #(nop) ENV MONGO_MAJOR=testing
2022-08-04 20:41:30 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-08-04 20:41:31 UTC/bin/sh -c #(nop) ENV MONGO_VERSION=4.2.22~rc0
2022-08-04 20:42:31 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-08-04 20:42:31 UTC/bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
2022-08-04 20:42:32 UTC/bin/sh -c #(nop) ENV HOME=/data/db
2022-08-04 20:42:34 UTC/bin/sh -c #(nop) COPY file:b7b44e96082c97da2e7f6248f8bbb2edd837542169af52bcc3f53a0cf8b74b7e in /usr/local/bin/
2022-08-04 20:42:34 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-08-04 20:42:35 UTC/bin/sh -c #(nop) EXPOSE 27017
2022-08-04 20:42:36 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.