Namespace
library
Image / Tag
mongo:8.0.13-rc2
Content Digest
sha256:a7130af0f7c50d4983f2a7d23bbc7f1f6c9554f05839ca9bb451ae2fca2f0ce5
Details
Created

2025-08-11 16:01:31 UTC

Size

285 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    24.04

Environment
GLIBC_TUNABLES

glibc.pthread.rseq=0

GOSU_VERSION

1.17

HOME

/data/db

JSYAML_CHECKSUM

662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

JSYAML_VERSION

3.13.1

MONGO_MAJOR

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.0.13~rc2

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:b71466b94f266b4c2e0881749670e5b88ab7a0fd4ca4a4cdf26cb45e4bde7e4e - 9.95% (28.3 MB)

[#001] sha256:78efcdecbbb890e58eb375b7c3696c7a015dc28fdb58d9a0092ad4935c0e443c - 0.0% (1.19 KB)

[#002] sha256:b9016924cae0c23d002eea73af75e2edb92e9fdd5f3cef6d89ad75969420b485 - 0.51% (1.44 MB)

[#003] sha256:a1497c6e15ec890b9813f7bb1fcb17ab1193c6dd3d89538a616f807e8083a471 - 0.38% (1.08 MB)

[#004] sha256:32c919b9afe39b0c1fbc2399aebe79437856d978e026c5fecd2a1d172b7a6b5e - 0.0% (116 Bytes)

[#005] sha256:fbd58915971f39ace5d241213163713ca81447c74f26375c25fc02d379416ae6 - 0.0% (265 Bytes)

[#006] sha256:b37ec7633e39d88935d41e7ae4031b49256450ee532c55e146cc199fb37bed58 - 0.0% (264 Bytes)

[#007] sha256:65babb41990501bfaf549cf73c98d7fe90c652804887989972c6066a929596ae - 89.16% (254 MB)

[#008] sha256:34db56cd712d165bb9439be4056fba25a26295b734883170fb548f9056b343f2 - 0.0% (4.88 KB)


History
2025-07-30 06:51:00 UTC

/bin/sh -c #(nop) ARG RELEASE

2025-07-30 06:51:00 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2025-07-30 06:51:00 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2025-07-30 06:51:00 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04

2025-07-30 06:51:02 UTC

/bin/sh -c #(nop) ADD file:98599296b3845cfad0ddc91f054e32ed9bcdefd76dd7b6dcf64fa3e2d648d018 in /

2025-07-30 06:51:03 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-08-11 16:01:31 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

2025-08-11 16:01:31 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

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-08-11 16:01:31 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

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-08-11 16:01:31 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

2025-08-11 16:01:31 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.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-8.0.list" # buildkit

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.13~rc2

2025-08-11 16:01:31 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

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2025-08-12 20:28:46 UTC

Size

3.99 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

aa48916bf08235c6b9047cfc9767c7e0a45d5f9f19ec07055aef0953005a2bd2

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.13-rc2-signed.msi

MONGO_VERSION

8.0.13-rc2


Layers

[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 51.76% (2.06 GB)

[#001] sha256:203c144449ed67b479a4424fa1d1138f1c8909f1e47a45a6500d4d7f7d058549 - 29.99% (1.2 GB)

[#002] sha256:431b91e18e6d31655c249d3ec527a7087a2412eee8ffbbff01048efe3664db7b - 0.0% (1.3 KB)

[#003] sha256:b124a1e5ec99bbab22aeb87d5f99de1e028158016bef9a55e807aeb2e7726e79 - 0.0% (1.3 KB)

[#004] sha256:37decea29c2f5ff38ba8205abaaf3ada81bedc7e92093b1826c7b1805f268e4b - 0.0% (1.36 KB)

[#005] sha256:0b644cbccc7f2eef96985586aac11a955e2f7e5c1d23b987670f68176a781ac5 - 0.0% (1.31 KB)

[#006] sha256:58d569c8b65f652cd16bd74c25c4bf09d76a0188a6561b5fdddfd6ff81b6b0f4 - 18.25% (745 MB)

[#007] sha256:e044595172339ea757f7847734a8a7e3c674f6e371b4f0140c63de7b32356e16 - 0.0% (1.3 KB)

[#008] sha256:b42a3a52d8cf08c1da35b5caf6d2a501590e9163f9b72273d941ee9f1248c019 - 0.0% (1.29 KB)

[#009] sha256:30103fba760b973a29b904083c758476895cb279d90f075764040b554e830f33 - 0.0% (1.29 KB)


History
2024-12-08 22:41:37 UTC

Apply image 10.0.26100.2605

2025-08-10 03:12:45 UTC

Install update 10.0.26100.4946

2025-08-12 20:27:48 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]

2025-08-12 20:27:49 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.13-rc2

2025-08-12 20:27:49 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.13-rc2-signed.msi

2025-08-12 20:27:50 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=aa48916bf08235c6b9047cfc9767c7e0a45d5f9f19ec07055aef0953005a2bd2

2025-08-12 20:28:44 UTC

powershell -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.';

2025-08-12 20:28:45 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]

2025-08-12 20:28:45 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017

2025-08-12 20:28:46 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]

Details
Created

2025-08-12 20:33:39 UTC

Size

2.85 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

aa48916bf08235c6b9047cfc9767c7e0a45d5f9f19ec07055aef0953005a2bd2

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.13-rc2-signed.msi

MONGO_VERSION

8.0.13-rc2


Layers

[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 47.74% (1.36 GB)

[#001] sha256:06b9b30319b49e62edeeff59663c236bf6a406712417e8a1be70ae07afd76e2c - 26.75% (782 MB)

[#002] sha256:66825d7337d6f50f4fb46ab7676600e2b48e38c476a5a7dd751c6ffc846921b6 - 0.0% (1.26 KB)

[#003] sha256:617b91b312b4bdb24be008858a4a6700ce4e3b4b50e228bf4d5035069c2b0a89 - 0.0% (1.25 KB)

[#004] sha256:eb1f7177fb60be2e98afa7c260a8e92a9f4449d40b04fbe7cbd37d66dce82422 - 0.0% (1.26 KB)

[#005] sha256:10237297a75bc8d2b752462ce5e4ed6d8c127b428c944ab9838c626dedb5604a - 0.0% (1.26 KB)

[#006] sha256:6e86e790438852b489c7d0eeb3cd36796d94a8ee85035ccaafecce5e8322f58b - 25.51% (745 MB)

[#007] sha256:40a48edf1da7b69967df45910cfbb17ff2ad4b0d6110966f145fba6787ce584f - 0.0% (1.25 KB)

[#008] sha256:86f42b2ed879a5b4c1ab673acd4fdf10114297a6492c939eadf62fa1ccdee164 - 0.0% (1.25 KB)

[#009] sha256:6b3deaf9a1b1ab9fa92f6061b20548c8cf8ab555447c04e18b3f9b283041040d - 0.0% (1.26 KB)


History
2024-09-06 00:01:38 UTC

Apply image 10.0.20348.2700

2025-08-08 18:40:34 UTC

Install update 10.0.20348.4052

2025-08-12 20:32:15 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]

2025-08-12 20:32:16 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.13-rc2

2025-08-12 20:32:17 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.13-rc2-signed.msi

2025-08-12 20:32:19 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=aa48916bf08235c6b9047cfc9767c7e0a45d5f9f19ec07055aef0953005a2bd2

2025-08-12 20:33:31 UTC

powershell -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.';

2025-08-12 20:33:36 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]

2025-08-12 20:33:37 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017

2025-08-12 20:33:39 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]

Details
Created

2025-08-11 16:01:31 UTC

Size

273 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    24.04

Environment
GLIBC_TUNABLES

glibc.pthread.rseq=0

GOSU_VERSION

1.17

HOME

/data/db

JSYAML_CHECKSUM

662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

JSYAML_VERSION

3.13.1

MONGO_MAJOR

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.0.13~rc2

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:49a8ca9a328e179fe07d40f7f2fd5fb2860b5c45463c288b64f05be521173d2e - 10.08% (27.5 MB)

[#001] sha256:770deb42eab21b27bbb55cc4cf29322634354ac2d2aa894794837b4011cbd98e - 0.0% (1.19 KB)

[#002] sha256:6c37b4f106e3f27dfb0117d7f1f102aa507166042a05403fbab1e8b11c56e019 - 0.52% (1.42 MB)

[#003] sha256:6b47f6958988cda6db1e2b4cb5ab3cfce28c663eaf7a352769a9774a2981b9c4 - 0.37% (1.01 MB)

[#004] sha256:72044317354892a1ee2fcdc9d1006a9b37c7a80529957ef66d8d5b10b0f2048d - 0.0% (116 Bytes)

[#005] sha256:a3045fa7c7343245669309d0345b39e14caecbb7f6955d2fb601db78812fa167 - 0.0% (266 Bytes)

[#006] sha256:debb6f7e5902076b601645c671f816edb369e6d545fe7651e754fb6edb328268 - 0.0% (266 Bytes)

[#007] sha256:74ec1f6d05e082c669c19f2da1a33847b8ac624ae4512764289ea9659341a6fc - 89.03% (243 MB)

[#008] sha256:dedc39826980e0eac12666072735d5d3cef7fb573baa514c424d1f52ba8e0993 - 0.0% (4.88 KB)


History
2025-07-30 07:00:50 UTC

/bin/sh -c #(nop) ARG RELEASE

2025-07-30 07:00:50 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2025-07-30 07:00:50 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2025-07-30 07:00:50 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04

2025-07-30 07:00:53 UTC

/bin/sh -c #(nop) ADD file:e189629238f69759e9c6cb1cac039ece646eeecb640e5eb670e5cf92543b46fb in /

2025-07-30 07:00:53 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-08-11 16:01:31 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

2025-08-11 16:01:31 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

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-08-11 16:01:31 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

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-08-11 16:01:31 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

2025-08-11 16:01:31 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.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-8.0.list" # buildkit

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.13~rc2

2025-08-11 16:01:31 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

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-08-11 16:01:31 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Danger Zone
Delete Tag

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.

Delete