2021-07-02 19:23:52 UTC
158 MB
1.12
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION4.2.15~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:25fa05cd42bd8fabb25d2a6f3f8c9f7ab34637903d00fd2ed1c1d0fa980427dd - 16.16% (25.5 MB)
[#001] sha256:3380d70bde1cab6b4455704dcce83e027172549216daea62c6190b09bc05c4be - 0.0% (1.83 KB)
[#002] sha256:9c5e30e9886d48467be1dfb167593ca15886072e71381d7325c81cc55b028cc2 - 1.8% (2.84 MB)
[#003] sha256:c6583381983d84a9b981816a22a57d822fe9a7a1dddfd41349d0adbba81437e6 - 3.53% (5.56 MB)
[#004] sha256:7873a283454075db613d13bef6cfbccba2b35e199aac1f0e31675f0c0acf4ace - 0.0% (148 Bytes)
[#005] sha256:2142501c0db7b2335a1cd186e37021a86962ac50cec08577f4ff1a2d98e8a0ef - 0.0% (4.53 KB)
[#006] sha256:d039ac0f11cb4687cb13d354ecd0194bff92deb0013dd1622719f1d2a5d61583 - 0.0% (240 Bytes)
[#007] sha256:8e2df5937b2a22507e698d7dc339b27dea858a7da7c5f37dc65d722c46437c11 - 78.5% (124 MB)
[#008] sha256:b45ff875f4c4f8de1aeb52360ffd7bc1ddb949048a4af84d3b30ec880cbbc94a - 0.0% (170 Bytes)
[#009] sha256:f192547ee681753d976be64fa7394827556f53248b68d86702c9350e6063aa20 - 0.0% (4.37 KB)
/bin/sh -c #(nop) ADD file:900f735ff138e5137cf25ddd85a32a01921ebec26d86704d24b5f12e73a832c2 in /
2021-06-17 23:31:22 UTC/bin/sh -c #(nop) CMD ["bash"]
2021-06-18 01:12:02 UTC/bin/sh -c groupadd -r mongodb && useradd -r -g mongodb mongodb
2021-06-18 01:12:16 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/*
2021-06-18 01:12:16 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
2021-06-18 01:12:16 UTC/bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
2021-06-18 01:12:28 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
2021-06-18 01:12:29 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2021-07-02 19:23:16 UTC/bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- '20691EEC35216C63CAF66CE1656408E390CFB1F5' '9DA31620334BD75D9DCB49F368818C72E52529D4' 'E162F504A20CDF15827F718D4B7C549A058F8B6B' 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11'; for key; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --export "$@" > /etc/apt/trusted.gpg.d/mongodb.gpg; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME"; apt-key list
2021-07-02 19:23:17 UTC/bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
2021-07-02 19:23:17 UTC/bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
2021-07-02 19:23:17 UTC/bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2021-07-02 19:23:17 UTC/bin/sh -c #(nop) ENV MONGO_MAJOR=testing
2021-07-02 19:23:18 UTC/bin/sh -c echo "deb http://$MONGO_REPO/apt/ubuntu bionic/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
2021-07-02 19:23:18 UTC/bin/sh -c #(nop) ENV MONGO_VERSION=4.2.15~rc0
2021-07-02 19:23:50 UTC/bin/sh -c set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && ln -s /bin/true /usr/local/bin/systemctl && 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 -f /usr/local/bin/systemctl && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig
2021-07-02 19:23:51 UTC/bin/sh -c mkdir -p /data/db /data/configdb && chown -R mongodb:mongodb /data/db /data/configdb
2021-07-02 19:23:51 UTC/bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
2021-07-02 19:23:52 UTC/bin/sh -c #(nop) COPY file:1dd28550b0c6cd4baae08342a3beff8f6014f7551c63d060630b98bd44e1f706 in /usr/local/bin/
2021-07-02 19:23:52 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2021-07-02 19:23:52 UTC/bin/sh -c #(nop) EXPOSE 27017
2021-07-02 19:23:52 UTC/bin/sh -c #(nop) CMD ["mongod"]
2021-07-02 19:17:09 UTC
2.69 GB
ec26859c65e43b3933a6ee371155b5d95bc6acb88e87314776b7c5a01ca7fd0f
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.15-rc0-signed.msi
MONGO_VERSION4.2.15-rc0
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 59.56% (1.6 GB)
[#001] sha256:639bb6bb2beb4cfdcacb9f0844344448fe26494665d5fe78a494419f86fbb18f - 32.0% (880 MB)
[#002] sha256:ae7d2dc4b590128efeafd375d02122e65a2525623ac2be100c1a390caf8a4b49 - 0.0% (1.37 KB)
[#003] sha256:d6d8278332af55c2f66aee4ec160ac54a1f1af20ffd5683f34954c27fc38424c - 0.0% (1.36 KB)
[#004] sha256:7b65ccae43985c49a3dfdb7a6e1815be352ef5cc2a6a867c2a5c214882b07f86 - 0.0% (1.4 KB)
[#005] sha256:31a1930b79cbf59425096d1cee3e8ecb2b2c5bb612f9272bb90f35574794ca77 - 0.0% (1.39 KB)
[#006] sha256:419375c8fcc76107df277bfbe7ef5a76728de94ca14756eea325868ad824db97 - 8.44% (232 MB)
[#007] sha256:4902ebfc33e9e529af693acadfb3cfbb40cec597177306bb7241bebec14699fa - 0.0% (1.41 KB)
[#008] sha256:2898ab83be5de8c002ee50d1f40e271e3c65c354f8327b3db5b72b21966f179d - 0.0% (1.38 KB)
[#009] sha256:cbaf751abb9db89a9312371b00a08eddf0602ce4d26745af0282e6d4d08d0cd1 - 0.0% (1.41 KB)
Apply image 1809-RTM-amd64
2021-06-06 04:28:43 UTCInstall update 1809-amd64
2021-06-09 13:15:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-07-02 19:15:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.15-rc0
2021-07-02 19:15:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.15-rc0-signed.msi
2021-07-02 19:15:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=ec26859c65e43b3933a6ee371155b5d95bc6acb88e87314776b7c5a01ca7fd0f
2021-07-02 19:17:00 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,MiscellaneousTools,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.';
2021-07-02 19:17:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-07-02 19:17:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-07-02 19:17:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2021-07-02 19:20:12 UTC
6.07 GB
ec26859c65e43b3933a6ee371155b5d95bc6acb88e87314776b7c5a01ca7fd0f
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.15-rc0-signed.msi
MONGO_VERSION4.2.15-rc0
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 62.48% (3.79 GB)
[#001] sha256:2f52abeee6d6f4a925ad418b5e6200d4fca9bf92834ffc918b8bbaccd34251db - 33.71% (2.04 GB)
[#002] sha256:fa4e6085e5538e957ef06561fe1e62dff898da7f4bb577e81da74323aecab2d7 - 0.0% (1.26 KB)
[#003] sha256:9b56afbb105eab1777538ef911148c559d179e4dad25d2bcac306b38512cc858 - 0.0% (1.39 KB)
[#004] sha256:56c0796452ba87574cee084a786ceacbc40fd0a43726d313fb079feba3f0cac8 - 0.0% (1.4 KB)
[#005] sha256:92bb236a4d1a3a949b4cc06a25081b6b878bd9479bbee65c8414060528624e53 - 0.0% (1.36 KB)
[#006] sha256:7f3cad485c3b73ce4582b127c791c17676fa3770110636a2d8682c9544f83bcf - 3.8% (236 MB)
[#007] sha256:7ccf307b0c0f1064b7f3a3ef8b3f97752253edd744a46a2dc582921b29341a48 - 0.0% (1.39 KB)
[#008] sha256:0839789668b30b073433436c908253977fc9c1d9e5127e8d2d06edad99916385 - 0.0% (1.35 KB)
[#009] sha256:43c27430591b0934b2c50f6ab50e4b6820774c79bf0552504251d4cf06a8fd90 - 0.0% (1.4 KB)
Apply image 1607-RTM-amd64
2021-06-06 15:37:00 UTCInstall update ltsc2016-amd64
2021-06-09 13:26:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-07-02 19:17:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.15-rc0
2021-07-02 19:17:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.15-rc0-signed.msi
2021-07-02 19:17:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=ec26859c65e43b3933a6ee371155b5d95bc6acb88e87314776b7c5a01ca7fd0f
2021-07-02 19:20:04 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,MiscellaneousTools,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.';
2021-07-02 19:20:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-07-02 19:20:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-07-02 19:20:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2021-07-02 19:27:42 UTC
148 MB
1.12
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION4.2.15~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:55c604a74c4b0b41ef666f811f5e160693236be8ea130c6df723480f59cbb9b8 - 15.26% (22.6 MB)
[#001] sha256:d9ae63d6c1546e327e93b9a70308b895e4f8c0c488d4132554aa456011c2891b - 0.0% (1.84 KB)
[#002] sha256:42ff824326e40aca12c8e9780428861a9675b5b55366f354c853a4145d2a9006 - 1.72% (2.55 MB)
[#003] sha256:56b6fdecd48a8062f5b47dded0087a71f8e3536e6b22f47e96365fb91285431a - 3.44% (5.1 MB)
[#004] sha256:c801f51a799a12dee09ac710bf7054307a9366c21b1f2bfe7fcd3c57674bba01 - 0.0% (149 Bytes)
[#005] sha256:efee3f1a6ca3c9d4b49171faffc6372bbe9add71e3685f982af0bfe444a7eaed - 0.0% (4.53 KB)
[#006] sha256:b1f43dbd12e5f749514cf9b50722e9ab1c47dcd4577b57477720f0cd74ece6c7 - 0.0% (241 Bytes)
[#007] sha256:4b440f28f008f2496ca0f5b2c9ad7d4c929a72e933f3276fc47e6054a8a66bf2 - 79.58% (118 MB)
[#008] sha256:fb2e3d62ba1542a7728ea2cca09d9f43ce3601dc1728585d6dfc2a050c92a51d - 0.0% (170 Bytes)
[#009] sha256:0e9766a32c6cfd1266da289caad250d1c074057e92d8d6cfc248d6f56c2d1bd5 - 0.0% (4.37 KB)
/bin/sh -c #(nop) ADD file:1c098d4ee63884766899c72e542e107525f0b7ade5528de87642587389864bcc in /
2021-06-17 23:53:51 UTC/bin/sh -c #(nop) CMD ["bash"]
2021-06-18 00:40:26 UTC/bin/sh -c groupadd -r mongodb && useradd -r -g mongodb mongodb
2021-06-18 00:40:35 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/*
2021-06-18 00:40:35 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
2021-06-18 00:40:35 UTC/bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
2021-06-18 00:40:50 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
2021-06-18 00:40:51 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2021-07-02 19:27:18 UTC/bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- '20691EEC35216C63CAF66CE1656408E390CFB1F5' '9DA31620334BD75D9DCB49F368818C72E52529D4' 'E162F504A20CDF15827F718D4B7C549A058F8B6B' 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11'; for key; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --export "$@" > /etc/apt/trusted.gpg.d/mongodb.gpg; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME"; apt-key list
2021-07-02 19:27:18 UTC/bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
2021-07-02 19:27:19 UTC/bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
2021-07-02 19:27:19 UTC/bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2021-07-02 19:27:19 UTC/bin/sh -c #(nop) ENV MONGO_MAJOR=testing
2021-07-02 19:27:20 UTC/bin/sh -c echo "deb http://$MONGO_REPO/apt/ubuntu bionic/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
2021-07-02 19:27:20 UTC/bin/sh -c #(nop) ENV MONGO_VERSION=4.2.15~rc0
2021-07-02 19:27:40 UTC/bin/sh -c set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && ln -s /bin/true /usr/local/bin/systemctl && 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 -f /usr/local/bin/systemctl && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig
2021-07-02 19:27:41 UTC/bin/sh -c mkdir -p /data/db /data/configdb && chown -R mongodb:mongodb /data/db /data/configdb
2021-07-02 19:27:41 UTC/bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
2021-07-02 19:27:41 UTC/bin/sh -c #(nop) COPY file:1dd28550b0c6cd4baae08342a3beff8f6014f7551c63d060630b98bd44e1f706 in /usr/local/bin/
2021-07-02 19:27:42 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2021-07-02 19:27:42 UTC/bin/sh -c #(nop) EXPOSE 27017
2021-07-02 19:27:42 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.