Namespace
library
Image / Tag
mongo:8.0.13-rc1
Content Digest
sha256:687eae7ed8e8be12292f5b21e66035607edb97ef89df3c5da4ecd2d6a4dda096
Details
Created

2025-08-06 22:01:35 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~rc1

PATH

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


Layers

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

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

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

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

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

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

[#006] sha256:c35f314ce7ee2cf4884de05ac4b4bb91a8063774b5db5aad52e005b535864bbf - 0.0% (265 Bytes)

[#007] sha256:6282bbfe9a09ea3c732b4329ce899814bb1b0111d2e56a23b95059a2328ac9b1 - 89.16% (254 MB)

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


History
2025-07-14 16:40:20 UTC

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

2025-07-14 16:40:20 UTC

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

2025-07-14 16:40:20 UTC

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

2025-07-14 16:40:20 UTC

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

2025-07-14 16:40:22 UTC

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

2025-07-14 16:40:23 UTC

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

2025-08-06 22:01:35 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-06 22:01:35 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-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-08-06 22:01:35 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-06 22:01:35 UTC (buildkit.dockerfile.v0)

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

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

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

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-08-06 22:01:35 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-06 22:01:35 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-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.13~rc1

2025-08-06 22:01:35 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-06 22:01:35 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

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

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2025-08-07 19:07:32 UTC

Size

3.98 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

89fede82f9c498a4cb0218b0502ff900462e9e5b6b5afad87f50d3551f4a224c

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.13-rc1


Layers

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

[#001] sha256:49ebc78effce2335b8fe04c34f5f1f3e33e513d5a7831fa81718af6737b3d654 - 29.86% (1.19 GB)

[#002] sha256:c4274043db5e2db99e6b0f10c52e2a0b21200aabd3ea2166853d12420ddb352d - 0.0% (1.29 KB)

[#003] sha256:7383a4d61094e9ba6ee5310253281ecd48a9c240589435ef86d0fd0f494bdc46 - 0.0% (1.27 KB)

[#004] sha256:75c2058c45d22156cb1104c89e5e20ef3b204db6ae403e9afcefffe6dcfaf609 - 0.0% (1.29 KB)

[#005] sha256:8bd2f09c73552facec15008d62d43b4eca4e408f65aafa1adf9035492cf5bb94 - 0.0% (1.28 KB)

[#006] sha256:8057d25f368540c9e3c60311cae127e8e812643e75259dd68e5b3e87e732b437 - 18.28% (745 MB)

[#007] sha256:001c9ae3efacdd75ae10bc1c96018683c2a6a95e0e3c62ce0fcc59e92f17d63d - 0.0% (1.26 KB)

[#008] sha256:a0c9cd6ece9eef20d74a473d3c679edafd5a5f56bb6efa7d246738c628019e57 - 0.0% (1.32 KB)

[#009] sha256:4c2f9706b86d6d97c83578c91c3ea610c19760558121098a2be545c386ff8b4d - 0.0% (1.27 KB)


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

Apply image 10.0.26100.2605

2025-07-05 18:40:54 UTC

Install update 10.0.26100.4652

2025-08-07 19:05:59 UTC

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

2025-08-07 19:06:00 UTC

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

2025-08-07 19:06:00 UTC

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

2025-08-07 19:06:01 UTC

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

2025-08-07 19:07:29 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-07 19:07:31 UTC

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

2025-08-07 19:07:32 UTC

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

2025-08-07 19:07:32 UTC

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

Details
Created

2025-08-07 19:03:17 UTC

Size

2.85 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

89fede82f9c498a4cb0218b0502ff900462e9e5b6b5afad87f50d3551f4a224c

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.13-rc1


Layers

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

[#001] sha256:b829944a73d1d8ad37eaa13c64bf9189b6895cc5b45b79bb3563fa325d94b6a7 - 26.73% (780 MB)

[#002] sha256:20fbe0661272ab3b3799340aba5e6da4731737cf68baf75acd243fcacc60a374 - 0.0% (1.24 KB)

[#003] sha256:98736d5a8b19783c26f7bafa9e6a468ccaa1373008598a0fdc1528eced79157c - 0.0% (1.29 KB)

[#004] sha256:e9ecc05fe3549f60869873fcf64c743d564f9be3031d8c529dea9d0766d75e6e - 0.0% (1.24 KB)

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

[#006] sha256:43e0056dbacec0e9c2ccfba62a01e65a80ec28ed3dac1a45a9f65663b9b688c1 - 25.51% (745 MB)

[#007] sha256:90d1c95375a2f95fe64f29f0d030e025ea0847f860f5bde4492fb8099a1a1a69 - 0.0% (1.25 KB)

[#008] sha256:c9a04e1350c1251b0294902ee11bc5752c9275b100535af0dec3576eb73c1ee9 - 0.0% (1.26 KB)

[#009] sha256:526acf65a2c1134c4a5b26331e4b5c8576f3b108576c82c0fa314a0f1c9e1368 - 0.0% (1.27 KB)


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

Apply image 10.0.20348.2700

2025-07-05 05:31:06 UTC

Install update 10.0.20348.3932

2025-08-07 19:01:47 UTC

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

2025-08-07 19:01:48 UTC

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

2025-08-07 19:01:50 UTC

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

2025-08-07 19:01:51 UTC

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

2025-08-07 19:03:13 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-07 19:03:14 UTC

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

2025-08-07 19:03:15 UTC

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

2025-08-07 19:03:17 UTC

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

Details
Created

2025-08-06 22:01:35 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~rc1

PATH

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


Layers

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

[#001] sha256:4a8104fc5dc37305f7b86f9f76f9f1c542bbcfe13cffee2c4c1de41e0fc060a5 - 0.0% (1.19 KB)

[#002] sha256:3116fa385bc23e7c7f61ab62fd926a1ad84078a7aaadc383485a6230a93a6bc0 - 0.52% (1.42 MB)

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

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

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

[#006] sha256:e4168f44a4319f85d91b87a311811390bb18ff4af9b681ccb1fa4fb68129eca8 - 0.0% (265 Bytes)

[#007] sha256:88f0a7569471be1ce86410aaaed98323637c9558072bf04442301887f33ab476 - 89.03% (243 MB)

[#008] sha256:43a407e2a86b76b2db6eb70e66a5e32d237a43cb8d53ee3de63cf23158782979 - 0.0% (4.89 KB)


History
2025-07-14 16:42:11 UTC

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

2025-07-14 16:42:11 UTC

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

2025-07-14 16:42:11 UTC

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

2025-07-14 16:42:12 UTC

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

2025-07-14 16:42:14 UTC

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

2025-07-14 16:42:15 UTC

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

2025-08-06 22:01:35 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-06 22:01:35 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-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-08-06 22:01:35 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-06 22:01:35 UTC (buildkit.dockerfile.v0)

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

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

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

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-08-06 22:01:35 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-06 22:01:35 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-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.13~rc1

2025-08-06 22:01:35 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-06 22:01:35 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

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

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-08-06 22:01:35 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-08-06 22:01:35 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