2022-03-03 22:01:41 UTC
164 MB
1.12
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION4.4.13~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:7c3b88808835aa80f1ef7f03083c5ae781d0f44e644537cd72de4ce6c5e62e00 - 16.64% (27.2 MB)
[#001] sha256:48a403577c28fafaf89a46590d69c237ae9fd5e576f96bf984e45ead657a3ef3 - 0.0% (1.71 KB)
[#002] sha256:76bbb7dc901383749cee88f0d357711cf7059ef51211c4725d60127a431d2844 - 1.79% (2.92 MB)
[#003] sha256:e81b1e5a386bad953e0fc4c4625bb63aea27c931f575e665730eea7fd4f373ad - 3.79% (6.2 MB)
[#004] sha256:7bdc1db49ec948ae1977bbbf82bca00efce13bebbaf1aabbe5ec24e1b3c268db - 0.0% (149 Bytes)
[#005] sha256:13e6b7852016f57111da3ca352822d442dfdc22eb9980ba49203b59706ee4576 - 0.0% (4.55 KB)
[#006] sha256:2d275b03664493e721a357b916d31c41084058253b0c6f6a8d23c5d619fa0866 - 0.0% (261 Bytes)
[#007] sha256:023396e6df3576f4cf2ef794617e93a4fef06adfde200e85e8d9c85cabac8766 - 77.77% (127 MB)
[#008] sha256:1a81cce598e8e7e7f0457e38bc589c725011261ebbc7ff557d9c29a2fe936ed2 - 0.0% (170 Bytes)
[#009] sha256:5b446385c2f63d0349bbf29be1f1ba4632fc19142fb947b0b09708211e798102 - 0.0% (4.83 KB)
/bin/sh -c #(nop) ADD file:8a50ad78a668527e974b05a3dfbfd64760de3cb643ceb8a8805d21f6ceab3389 in /
2022-03-03 20:19:33 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-03-03 21:57:21 UTC/bin/sh -c groupadd -r mongodb && useradd -r -g mongodb mongodb
2022-03-03 21:57:29 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-03-03 21:57:29 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
2022-03-03 21:57:29 UTC/bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
2022-03-03 21:57:46 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-03-03 21:57:46 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2022-03-03 22:01:19 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; mkdir -p /etc/apt/keyrings; gpg --batch --export "$@" > /etc/apt/keyrings/mongodb.gpg; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME"
2022-03-03 22:01:19 UTC/bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
2022-03-03 22:01:19 UTC/bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
2022-03-03 22:01:19 UTC/bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2022-03-03 22:01:20 UTC/bin/sh -c #(nop) ENV MONGO_MAJOR=testing
2022-03-03 22:01:20 UTC/bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.gpg ] http://$MONGO_REPO/apt/ubuntu focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
2022-03-03 22:01:20 UTC/bin/sh -c #(nop) ENV MONGO_VERSION=4.4.13~rc0
2022-03-03 22:01:39 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
2022-03-03 22:01:41 UTC/bin/sh -c mkdir -p /data/db /data/configdb && chown -R mongodb:mongodb /data/db /data/configdb
2022-03-03 22:01:41 UTC/bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
2022-03-03 22:01:41 UTC/bin/sh -c #(nop) COPY file:ff519c7454e20e6f14c42932b8d6eaee066ed739bfbbd2a6e884d0a7ffeead38 in /usr/local/bin/
2022-03-03 22:01:41 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-03-03 22:01:41 UTC/bin/sh -c #(nop) EXPOSE 27017
2022-03-03 22:01:41 UTC/bin/sh -c #(nop) CMD ["mongod"]
2022-03-01 02:25:23 UTC
2.29 GB
8942cb7d5eba2ac1875dc88a0b776d975f5680a17b56a9e8136556997f143223
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.13-rc0-signed.msi
MONGO_VERSION4.4.13-rc0
[#000] sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642 - 50.92% (1.17 GB)
[#001] sha256:898469748ff68223ab87b654b29fb366c1f4f2b7cfad7a37426346ea16db8dfa - 39.18% (919 MB)
[#002] sha256:ff78097ae7bacc8d0990c9620bbe5ddc9639d4f309f097c6cdd3cc7a68e56aad - 0.0% (1.39 KB)
[#003] sha256:14eb0eed39604ef8cb3eb726baa4afc3b1e4e9f02ae280d6643dec6642fea461 - 0.0% (1.36 KB)
[#004] sha256:3d4a68c1c9c3df75ca60b1c4066f3bf259a6ac3f096f038a4189844b1313737c - 0.0% (1.36 KB)
[#005] sha256:d5181aa644fb226ceaae624584d4a38f3d009d0801405d3af0a4809ea363d072 - 0.0% (1.39 KB)
[#006] sha256:e0184578cd384b324f77599793aa50fb786d226aff45aff857c122ebffe91173 - 9.89% (232 MB)
[#007] sha256:8af1dd37954573c12054f6e42dddf5f5f3bf3a0f90829cd8d72a35807383ce6e - 0.0% (1.4 KB)
[#008] sha256:41b447470712bd838ea68f2960b5923b8dc14167f6884b980219ab949fae9847 - 0.0% (1.4 KB)
[#009] sha256:bb5d5c1039842d3661f30f03573cbd5c8033eceaf31369608bec7b24d2a37deb - 0.0% (1.36 KB)
Apply image 2022-RTM-amd64
2022-02-01 02:49:40 UTCInstall update ltsc2022-amd64
2022-02-09 14:56:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-03-01 02:23:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.13-rc0
2022-03-01 02:24:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.13-rc0-signed.msi
2022-03-01 02:24:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=8942cb7d5eba2ac1875dc88a0b776d975f5680a17b56a9e8136556997f143223
2022-03-01 02:25:19 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.';
2022-03-01 02:25:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-03-01 02:25:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-03-01 02:25:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2022-03-01 02:27:53 UTC
2.75 GB
8942cb7d5eba2ac1875dc88a0b776d975f5680a17b56a9e8136556997f143223
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.13-rc0-signed.msi
MONGO_VERSION4.4.13-rc0
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 58.12% (1.6 GB)
[#001] sha256:1bd78008c728d8f9e56dc2093e6eb55f0f0b1aa96e5d0c7ccc830c5f60876cdf - 33.66% (949 MB)
[#002] sha256:f49d3791198cf2ea875fd54ce3bb715670742d4a58c00252395ad1b74036662a - 0.0% (1.4 KB)
[#003] sha256:de251ee1054ccc85fc38ddd6b1187d288094ffc4e9b668a39c06ee4e7dd55dc0 - 0.0% (1.35 KB)
[#004] sha256:08c45cafdee6732750d6970e8f6c2ac33d4d772c3d6a43fd3fc90abe723f6fd9 - 0.0% (1.38 KB)
[#005] sha256:a7663620518a9cc5060ad78aacaae6cd28a45595222a58008e64be9a3a6d4045 - 0.0% (1.38 KB)
[#006] sha256:c2fd31de590d8edc28860eca0a753be61c6f9cdb6a0bae8fd7a419ecd9a226c6 - 8.22% (232 MB)
[#007] sha256:dd62a49f0281f1be021c6482e79f80586ccd6785745c5e6bb6d00b27b6b1b9a2 - 0.0% (1.41 KB)
[#008] sha256:371aa1b969c3f1b933ae23fe8249047f81498f9525e3ed6b99e60a55911aac6c - 0.0% (1.38 KB)
[#009] sha256:480d9d110a5e2dff5e43a1f2a128aed30ee0cc8787bf30a878dd9a17395badbf - 0.0% (1.39 KB)
Apply image 1809-RTM-amd64
2022-02-02 19:28:56 UTCInstall update 1809-amd64
2022-02-09 15:04:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-03-01 02:25:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.13-rc0
2022-03-01 02:25:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.13-rc0-signed.msi
2022-03-01 02:25:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=8942cb7d5eba2ac1875dc88a0b776d975f5680a17b56a9e8136556997f143223
2022-03-01 02:27:50 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.';
2022-03-01 02:27:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-03-01 02:27:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-03-01 02:27:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2022-03-03 20:55:41 UTC
159 MB
1.12
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION4.4.13~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:5a7855fb0d7ae372c824d9c76be5ad2f42ce178c1910fa54a8543036b5325fd5 - 16.3% (25.9 MB)
[#001] sha256:93835005f83fca8d11e84de6d362cbdac541df8362e80c6a0172100f8b8a27ea - 0.0% (1.69 KB)
[#002] sha256:85b1c8f1aa262a4f9ecfc4a311235d079693056c9b47ac47c30478ac25c87e36 - 1.75% (2.78 MB)
[#003] sha256:b9207ce7ec0ce748a22c1074f1471f694ca5a46ba77f3cb86f7485a9df75f492 - 3.75% (5.96 MB)
[#004] sha256:a98a90fbda7bccfa543c5d402318d145dc64f2d3be60275c04a10ede986569ca - 0.0% (115 Bytes)
[#005] sha256:c933d61467efb1abcd6f228b1149d82b3640729946d3b26687b4f4f205907860 - 0.0% (4.5 KB)
[#006] sha256:657b5207929ed6f404461648af03fb4091bc74557fb4000292b6d9c2f7103370 - 0.0% (262 Bytes)
[#007] sha256:a53da7e39e4cf79637641c206c8c4067fdc7fa856591395a0804f1bf48637f8e - 78.2% (124 MB)
[#008] sha256:8eae842acebc13f6ecfc69148c311c6f6a0fddc2efe0e20e7afaaaa756becaee - 0.0% (138 Bytes)
[#009] sha256:b257a90d6acf4bf036b577f247f1ac6f70d593031007c46fd9333558842f57f7 - 0.0% (4.83 KB)
/bin/sh -c #(nop) ADD file:f2fffe739729839aa17484bc4d79d33425549c5052824eac12131b16c23565d3 in /
2022-03-03 19:41:03 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-03-03 20:50:47 UTC/bin/sh -c groupadd -r mongodb && useradd -r -g mongodb mongodb
2022-03-03 20:50:58 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-03-03 20:50:58 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
2022-03-03 20:50:59 UTC/bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
2022-03-03 20:51:15 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-03-03 20:51:16 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2022-03-03 20:55:09 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; mkdir -p /etc/apt/keyrings; gpg --batch --export "$@" > /etc/apt/keyrings/mongodb.gpg; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME"
2022-03-03 20:55:10 UTC/bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
2022-03-03 20:55:11 UTC/bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
2022-03-03 20:55:12 UTC/bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2022-03-03 20:55:13 UTC/bin/sh -c #(nop) ENV MONGO_MAJOR=testing
2022-03-03 20:55:14 UTC/bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.gpg ] http://$MONGO_REPO/apt/ubuntu focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
2022-03-03 20:55:15 UTC/bin/sh -c #(nop) ENV MONGO_VERSION=4.4.13~rc0
2022-03-03 20:55:36 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
2022-03-03 20:55:36 UTC/bin/sh -c mkdir -p /data/db /data/configdb && chown -R mongodb:mongodb /data/db /data/configdb
2022-03-03 20:55:37 UTC/bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
2022-03-03 20:55:39 UTC/bin/sh -c #(nop) COPY file:ff519c7454e20e6f14c42932b8d6eaee066ed739bfbbd2a6e884d0a7ffeead38 in /usr/local/bin/
2022-03-03 20:55:39 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-03-03 20:55:40 UTC/bin/sh -c #(nop) EXPOSE 27017
2022-03-03 20:55:41 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.