Namespace
library
Image / Tag
mongo:8.0.12-rc0
Content Digest
sha256:6d803af8cd007e248af1692782ca707a527ba5eb86dfb2f6a54d322a8e557b71
Details
Created

2025-07-09 22:07:17 UTC

Size

281 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.12~rc0

PATH

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


Layers

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

[#001] sha256:a116ec86071f560b91a5baee7f4bb8731d4bb96604c5746bc19884c7558ac252 - 0.0% (1.18 KB)

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

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

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

[#005] sha256:60942e9e661689a7ccb2daa2f7729839603068d5172bbb488e86ba141b75cf3c - 0.0% (268 Bytes)

[#006] sha256:4139a52f112d7f6346fc3086a4be737b498e05c193c3633c3bde47973959c9b9 - 0.0% (267 Bytes)

[#007] sha256:6db08084a6f274ebbaf738cf3c761e69409db4e54d6bd3aed2ddc4df0b750cbf - 89.03% (250 MB)

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


History
2025-07-09 22:07:17 UTC

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

2025-07-09 22:07:17 UTC

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

2025-07-09 22:07:17 UTC

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

2025-07-09 22:07:17 UTC

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

2025-07-09 22:07:17 UTC

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

2025-07-09 22:07:17 UTC

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

2025-07-09 22:07:17 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-07-09 22:07:17 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-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-07-09 22:07:17 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-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

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

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

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

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-07-09 22:07:17 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-07-09 22:07:17 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-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.12~rc0

2025-07-09 22:07:17 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-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

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

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2025-07-11 23:11:58 UTC

Size

3.98 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

481620d65c198d88bad0959393c7d7755eb6792e5a15a2530e6f95601c37edf1

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.12-rc0-signed.msi

MONGO_VERSION

8.0.12-rc0


Layers

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

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

[#002] sha256:31987fa775d25a498699f22fb0ef00a3497982eb5319a55bd066995a6738a4be - 0.0% (1.32 KB)

[#003] sha256:81b9256c338af4e66ac0ed451d833f129c81a3d49a4dee3457d4d4075f213343 - 0.0% (1.29 KB)

[#004] sha256:2aeef562ee9d2e8e8dbfdfc1602f8400bde63abd1740c1dff6e27971fae56c79 - 0.0% (1.29 KB)

[#005] sha256:370c6a16439e944cad749afdc54c70df6566e938f261f0a66563685b2fc9959e - 0.0% (1.29 KB)

[#006] sha256:a7b6e31ded189139b936573b49285f3fd9e034d5397e8763f85a6857109480c8 - 18.23% (742 MB)

[#007] sha256:6d796a3e6c024f103dddbd209e77c122c568ae5a16d00d914ea4a8f84dcce49a - 0.0% (1.29 KB)

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

[#009] sha256:78f4f697375a347f3797417f52931174646a75be6e42515f9898fa182e237fe6 - 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-07-11 23:10:08 UTC

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

2025-07-11 23:10:10 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.12-rc0

2025-07-11 23:10:12 UTC

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

2025-07-11 23:10:13 UTC

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

2025-07-11 23:11:55 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-07-11 23:11:56 UTC

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

2025-07-11 23:11:57 UTC

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

2025-07-11 23:11:58 UTC

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

Details
Created

2025-07-11 23:04:51 UTC

Size

2.85 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

481620d65c198d88bad0959393c7d7755eb6792e5a15a2530e6f95601c37edf1

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.12-rc0-signed.msi

MONGO_VERSION

8.0.12-rc0


Layers

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

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

[#002] sha256:827fac0b419b83b80d00436cdd5328f2b6f2ca2009da50ea58c2bfc1296f1804 - 0.0% (1.26 KB)

[#003] sha256:0669e72d82f5e509cf08268c77c332efe9261177ecb0c003f60e217a92b98059 - 0.0% (1.26 KB)

[#004] sha256:4db164a32158592ad2a9950eb3c10e467cfbb67cfe5d60bbc5a1250c792111f4 - 0.0% (1.34 KB)

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

[#006] sha256:f6f8e0a0bef6f49ec0c2b8aff82709a437b9b604a8d0b8ac0f7166502fe7059b - 25.44% (742 MB)

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

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

[#009] sha256:c8ea120efac7d2f40e049cb89d4aca2daaf42bf4df753abda170bde9fe0424d8 - 0.0% (1.25 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-07-11 23:03:24 UTC

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

2025-07-11 23:03:25 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.12-rc0

2025-07-11 23:03:26 UTC

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

2025-07-11 23:03:27 UTC

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

2025-07-11 23:04:46 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-07-11 23:04:48 UTC

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

2025-07-11 23:04:50 UTC

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

2025-07-11 23:04:51 UTC

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

Details
Created

2025-07-09 22:07:17 UTC

Size

270 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.12~rc0

PATH

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


Layers

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

[#001] sha256:7db4a7d4fb603229b329734bad76ca737565fc1ea4d612e6f2a42162349e3547 - 0.0% (1.18 KB)

[#002] sha256:ec48350f5c1af596e91ea8bbcd47afe5b5cff565984b1dc1c0c73947c5e75a60 - 0.53% (1.42 MB)

[#003] sha256:609bccc5aa13caeb5170ce9767fbf74ebff7591126e84273427c00af6365a9b1 - 0.38% (1.01 MB)

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

[#005] sha256:f2c62c9a6586312a2ca1077a86ce026e8c7323a7761db8ba057e6c2929e7ce82 - 0.0% (263 Bytes)

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

[#007] sha256:2ef0a553941290085273c9e871903643a9ade4f7574b2430de483b027fff4360 - 88.89% (240 MB)

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


History
2025-07-09 22:07:17 UTC

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

2025-07-09 22:07:17 UTC

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

2025-07-09 22:07:17 UTC

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

2025-07-09 22:07:17 UTC

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

2025-07-09 22:07:17 UTC

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

2025-07-09 22:07:17 UTC

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

2025-07-09 22:07:17 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-07-09 22:07:17 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-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-07-09 22:07:17 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-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

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

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

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

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-07-09 22:07:17 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-07-09 22:07:17 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-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.12~rc0

2025-07-09 22:07:17 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-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

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

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-07-09 22:07:17 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-07-09 22:07:17 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