2026-02-21 00:08:52 UTC
320 MB
glibc.pthread.rseq=0
GOSU_VERSION1.19
HOME/data/db
JSYAML_CHECKSUM662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.2.6~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:01d7766a2e4a62b74e0bebf2cd12c47e675e9221174f6570854203e84ffe68b0 - 8.86% (28.4 MB)
[#001] sha256:acbf7be55d235538b802452296d972cedb03b2b5b03bb8cde3f4ff2749d31370 - 0.0% (1.19 KB)
[#002] sha256:6db79b847446251ac0f3c3a4b7ed64df57984b047c480625413aab330a85e044 - 0.45% (1.44 MB)
[#003] sha256:c98bf1631ccc9a69e53f4cb9346d97de67c37d05a5db388a559396f93a9c8b5f - 0.28% (912 KB)
[#004] sha256:1e1318ac5d8daf758349c2b3b6751ee21d85533968833c8d7dd056af684588dd - 0.0% (116 Bytes)
[#005] sha256:2f9a5ca7f341b3ff0819a5e06a797f9db360950d26d677fbd6ce5ad4ca6d7f8b - 0.0% (266 Bytes)
[#006] sha256:c11ec1aa63d50928e2c0f5543f2708c6bfbc92b4793019341282d89824bc0696 - 0.0% (268 Bytes)
[#007] sha256:000df016f700136acd119c8ee34fd42e64bf65501bdf72073be6d525ac61a452 - 90.41% (289 MB)
[#008] sha256:e0a082de98e28442228b6267d192ecb40a17fa9310365f7f00960846479ef72d - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2026-02-10 16:49:54 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2026-02-10 16:49:54 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2026-02-10 16:49:54 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2026-02-10 16:49:56 UTC/bin/sh -c #(nop) ADD file:1ae27d2ef4369361104b699712f3897141e394785df5d193d67b44626f57eb87 in /
2026-02-10 16:49:57 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2026-02-21 00:08:09 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2026-02-21 00:08:18 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl procps ; rm -rf /var/lib/apt/lists/* # buildkit
2026-02-21 00:08:33 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-02-21 00:08:33 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2026-02-21 00:08:33 UTC (buildkit.dockerfile.v0)ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
2026-02-21 00:08:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg 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; mkdir -p /opt/js-yaml/; wget -O /opt/js-yaml/js-yaml.tgz https://registry.npmjs.org/js-yaml/-/js-yaml-${JSYAML_VERSION}.tgz; echo "$JSYAML_CHECKSUM */opt/js-yaml/js-yaml.tgz" | sha256sum -c -; tar -xz --strip-components=1 -f /opt/js-yaml/js-yaml.tgz -C /opt/js-yaml package/dist/js-yaml.js package/package.json; rm /opt/js-yaml/js-yaml.tgz; ln -s /opt/js-yaml/dist/js-yaml.js /js-yaml.js; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-dev.asc' 'https://pgp.mongodb.com/server-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' '4B0752C1BCA238C0B4EE14DC41DE058A4E7DCA05' > /etc/apt/keyrings/mongodb.asc; gpgconf --kill all; rm -rf "$GNUPGHOME" KEYS; 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 # buildkit
2026-02-21 00:08:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-02-21 00:08:33 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2026-02-21 00:08:33 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2026-02-21 00:08:33 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2026-02-21 00:08:33 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2026-02-21 00:08:33 UTC (buildkit.dockerfile.v0)RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu noble/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2026-02-21 00:08:34 UTC (buildkit.dockerfile.v0)RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu noble/${MONGO_PACKAGE%-unstable}/8.2 multiverse" | tee "/etc/apt/sources.list.d/mongodb-8.2.list" # buildkit
2026-02-21 00:08:34 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.2.6~rc0
2026-02-21 00:08:52 UTC (buildkit.dockerfile.v0)RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /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 ${MONGO_PACKAGE}-database=$MONGO_VERSION ${MONGO_PACKAGE}-database-tools-extra=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit
2026-02-21 00:08:52 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2026-02-21 00:08:52 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2026-02-21 00:08:52 UTC (buildkit.dockerfile.v0)ENV GLIBC_TUNABLES=glibc.pthread.rseq=0
2026-02-21 00:08:52 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2026-02-21 00:08:52 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-02-21 00:08:52 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2026-02-21 00:08:52 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2026-02-21 00:16:53 UTC
2.59 GB
83e72061c152d009dd35137a3e7e33364905b6fc7faa681cdfc3282b9e4b8a48
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.2.6-rc0-signed.msi
MONGO_VERSION8.2.6-rc0
[#000] sha256:0938cf51b672b81c9804d1d5f0c57031c931f41b279270e84820c63642d6a3bd - 54.75% (1.42 GB)
[#001] sha256:456534216d0c12d9314cda831989d54bb3f542d7d43d9772ba40654db6dbd7bc - 15.88% (421 MB)
[#002] sha256:cdcf36325e9b58185230b393f44a10967f9cdedd638fb085ff149aefa2ba7e8d - 0.0% (1.35 KB)
[#003] sha256:44353bba67d4211b1ee1042384bcb21d6cbc9a0c6d3233266f3496753ae0e7ba - 0.0% (1.28 KB)
[#004] sha256:3cceade6c07e8af7ce1fe64716137eea3d192c004306ae2a179077e07b3caa46 - 0.0% (1.3 KB)
[#005] sha256:22630dad15d54bfb2453665de76f4726da3bab06feef373ecca8cb171c5f6226 - 0.0% (1.26 KB)
[#006] sha256:f575e2bb25c6d7c34a974b351bc9bd50637b684f52bbf8eef0f959b3339e4097 - 29.37% (779 MB)
[#007] sha256:2dd8940a8137fee6b88064a4b230ee168521f6528b9ffb40f2b0c96933c34c7a - 0.0% (1.26 KB)
[#008] sha256:08c9cfbfee1d248e083190e2e40a337b9148920a42b6a87e3530c63ddf3ef25d - 0.0% (1.29 KB)
[#009] sha256:845c9297b4739b93ddd9237e01aa0fe49e69948a4b268d47fc20b8473268ffd9 - 0.0% (1.29 KB)
Apply image 10.0.26100.32230
2026-02-06 22:21:49 UTCInstall update 10.0.26100.32370
2026-02-21 00:12:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2026-02-21 00:12:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.2.6-rc0
2026-02-21 00:12:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.2.6-rc0-signed.msi
2026-02-21 00:12:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=83e72061c152d009dd35137a3e7e33364905b6fc7faa681cdfc3282b9e4b8a48
2026-02-21 00:16:51 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.';
2026-02-21 00:16:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2026-02-21 00:16:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2026-02-21 00:16:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2026-02-21 00:20:35 UTC
2.5 GB
83e72061c152d009dd35137a3e7e33364905b6fc7faa681cdfc3282b9e4b8a48
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.2.6-rc0-signed.msi
MONGO_VERSION8.2.6-rc0
[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 55.57% (1.39 GB)
[#001] sha256:e3c87a3784ab1d08cbacea3288e90f8106f6e7a20b792ab27cdc739fc966a73e - 13.94% (356 MB)
[#002] sha256:0321ddb5deded272ea9d8eff1a902780f080cd91dd61e58d2579ef443d86f5c0 - 0.0% (1.34 KB)
[#003] sha256:7b0327c52750d67824eb29b23229ab3806a2e59fddb0eb80b656c7a0992c6c5d - 0.0% (1.3 KB)
[#004] sha256:bc8699861528508e7a8bd3d01999e4f01d224e900fb5d3bec5ad83af87ffe482 - 0.0% (1.29 KB)
[#005] sha256:3324cda1bbc7c82e6c7bab158a7b8fa2e01f7d9d64a27d623486b4dc48983224 - 0.0% (1.29 KB)
[#006] sha256:18f7d75df7987d78eee77526684b210e6e206c5d573047d03b0f36f8f9362da1 - 30.49% (779 MB)
[#007] sha256:4b1e7bb59a04b271dc7e9a165aa77f2e9d44d634591e102756afdab32f1f8ced - 0.0% (1.29 KB)
[#008] sha256:ee0346b12e08770f3d5c2334e7e46eaf668fa378e6a36a3f5920c94128e86e5f - 0.0% (1.26 KB)
[#009] sha256:04e0706dbcfd3f52b4ac1f4628618150f04f8f4b78d1fe3b4336e8477d7d1b67 - 0.0% (1.26 KB)
Apply image 10.0.20348.4294
2026-02-06 10:02:33 UTCInstall update 10.0.20348.4773
2026-02-21 00:12:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2026-02-21 00:12:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.2.6-rc0
2026-02-21 00:12:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.2.6-rc0-signed.msi
2026-02-21 00:12:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=83e72061c152d009dd35137a3e7e33364905b6fc7faa681cdfc3282b9e4b8a48
2026-02-21 00:20:31 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.';
2026-02-21 00:20:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2026-02-21 00:20:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2026-02-21 00:20:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2026-02-21 00:08:46 UTC
305 MB
glibc.pthread.rseq=0
GOSU_VERSION1.19
HOME/data/db
JSYAML_CHECKSUM662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.2.6~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:66a4bbbfab887561d75f1fdb3c6221c974346f82c9229f5ef99f96b7e6c25704 - 9.01% (27.5 MB)
[#001] sha256:9aeed58a28caeadaadf590b8f38b0c38ae2cfc9df2d37d4c82ed28f578dfc128 - 0.0% (1.19 KB)
[#002] sha256:809b58419b3d20a6ab35a49f90acca34c615ce793b18888391135d5d799db957 - 0.47% (1.43 MB)
[#003] sha256:fab7c8ac00c4a51642adcdaa8ca346d293d398ccd8ca3f9575d65b007b2856b6 - 0.28% (867 KB)
[#004] sha256:fdd7e115f31125ec941cc6b7af858734bec423b618c34a4fca9c358e4fbeb137 - 0.0% (116 Bytes)
[#005] sha256:9e142e0f320ab1215ba16cf455f185ece8dd069340c669ea2ba782b093babfaa - 0.0% (265 Bytes)
[#006] sha256:4e521cb0d5a5f1a80179e30bf7b27a910f4c2fc4eb6594c2d6bb04758ef8f9a9 - 0.0% (265 Bytes)
[#007] sha256:10141c610c4fb4c9a97f681380d991568e405e378e9cad369ede7f6dd23f67ba - 90.24% (276 MB)
[#008] sha256:496aeeb508e2c46f36dd8aaeae34a9a2a4175edfc673e67165b9315fa30421f9 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2026-02-10 16:52:26 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2026-02-10 16:52:27 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2026-02-10 16:52:27 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2026-02-10 16:52:29 UTC/bin/sh -c #(nop) ADD file:25d708bf0b30ddee20c0b2764034e065aca922cafd48eb9c662e35ba02ccf1de in /
2026-02-10 16:52:29 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2026-02-21 00:08:01 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2026-02-21 00:08:10 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl procps ; rm -rf /var/lib/apt/lists/* # buildkit
2026-02-21 00:08:22 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-02-21 00:08:22 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2026-02-21 00:08:22 UTC (buildkit.dockerfile.v0)ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
2026-02-21 00:08:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg 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; mkdir -p /opt/js-yaml/; wget -O /opt/js-yaml/js-yaml.tgz https://registry.npmjs.org/js-yaml/-/js-yaml-${JSYAML_VERSION}.tgz; echo "$JSYAML_CHECKSUM */opt/js-yaml/js-yaml.tgz" | sha256sum -c -; tar -xz --strip-components=1 -f /opt/js-yaml/js-yaml.tgz -C /opt/js-yaml package/dist/js-yaml.js package/package.json; rm /opt/js-yaml/js-yaml.tgz; ln -s /opt/js-yaml/dist/js-yaml.js /js-yaml.js; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-dev.asc' 'https://pgp.mongodb.com/server-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' '4B0752C1BCA238C0B4EE14DC41DE058A4E7DCA05' > /etc/apt/keyrings/mongodb.asc; gpgconf --kill all; rm -rf "$GNUPGHOME" KEYS; 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 # buildkit
2026-02-21 00:08:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-02-21 00:08:22 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2026-02-21 00:08:22 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2026-02-21 00:08:22 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2026-02-21 00:08:22 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2026-02-21 00:08:22 UTC (buildkit.dockerfile.v0)RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu noble/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2026-02-21 00:08:23 UTC (buildkit.dockerfile.v0)RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu noble/${MONGO_PACKAGE%-unstable}/8.2 multiverse" | tee "/etc/apt/sources.list.d/mongodb-8.2.list" # buildkit
2026-02-21 00:08:23 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.2.6~rc0
2026-02-21 00:08:46 UTC (buildkit.dockerfile.v0)RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /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 ${MONGO_PACKAGE}-database=$MONGO_VERSION ${MONGO_PACKAGE}-database-tools-extra=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit
2026-02-21 00:08:46 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2026-02-21 00:08:46 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2026-02-21 00:08:46 UTC (buildkit.dockerfile.v0)ENV GLIBC_TUNABLES=glibc.pthread.rseq=0
2026-02-21 00:08:46 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2026-02-21 00:08:46 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-02-21 00:08:46 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2026-02-21 00:08:46 UTC (buildkit.dockerfile.v0)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.