Namespace
library
Image / Tag
mongo:8.3.4
Content Digest
sha256:309d760ba3f7962e14d54ac6123c7fe72ed2d465196b4d0eaf8abcea7dd39450
Details
Created

2026-07-02 02:31:12 UTC

Size

284 MB

Content Digest
Labels
  • org.opencontainers.image.version
    24.04

Environment
GLIBC_TUNABLES

glibc.pthread.rseq=0

GOSU_VERSION

1.19

HOME

/data/db

JSYAML_CHECKSUM

662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

JSYAML_VERSION

3.13.1

MONGO_MAJOR

8.3

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.3.4

PATH

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


Layers

[#000] sha256:ca2678b20700c15185707964d9211b1a6406196114bf675f568b6025d37b3888 - 9.99% (28.4 MB)

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

[#002] sha256:bcd97d837c920da22c0d175cf19eb4c47657225b8fbf9daadae5269220ffb75d - 0.49% (1.4 MB)

[#003] sha256:faad1c195c3abc45b4a3b2f97ffa20eadf7ddfadc2612d34c4209bc252e139c4 - 0.31% (912 KB)

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

[#005] sha256:2eeb426b4806750eaea736d6dc4b5e5106e4e6551e0e5a2c35a95f9a16c4d4ab - 0.0% (264 Bytes)

[#006] sha256:ddbb85e729e79ddcb97e02ace1d08057fe31046a1ad914f13718f0ae3f621f68 - 89.2% (253 MB)

[#007] sha256:bb83a037d40589c7a574c293d01027b41a82914cf3612c396277ba2ae901f61c - 0.0% (4.88 KB)


History
2026-06-22 21:24:17 UTC

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

2026-06-22 21:24:18 UTC

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

2026-06-22 21:24:18 UTC

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

2026-06-22 21:24:20 UTC

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

2026-06-22 21:24:21 UTC

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

2026-07-02 02:30:42 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-07-02 02:30:47 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-07-02 02:30:56 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-07-02 02:30:56 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2026-07-02 02:30:56 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2026-07-02 02:30:56 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-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '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-07-02 02:30:56 UTC (buildkit.dockerfile.v0)

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

2026-07-02 02:30:56 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2026-07-02 02:30:56 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2026-07-02 02:30:56 UTC (buildkit.dockerfile.v0)

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

2026-07-02 02:30:56 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.3

2026-07-02 02:30:56 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/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/$MONGO_PACKAGE.list" # buildkit

2026-07-02 02:30:56 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.3.4

2026-07-02 02:31:12 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-07-02 02:31:12 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2026-07-02 02:31:12 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2026-07-02 02:31:12 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2026-07-02 02:31:12 UTC (buildkit.dockerfile.v0)

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

2026-07-02 02:31:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-07-02 02:31:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2026-07-02 02:31:12 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2026-07-15 23:17:27 UTC

Size

3.05 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

46f080a02fb2c1f0371210fc1f3e9a32d92403fdfa7bdcb911f6fa02f4beaa94

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.3.4


Layers

[#000] sha256:0938cf51b672b81c9804d1d5f0c57031c931f41b279270e84820c63642d6a3bd - 46.49% (1.42 GB)

[#001] sha256:e24b28706e4e5f31fae7935e5a79e6df5d7a2eb3e69c8c19ca723f41f0b45f6f - 25.39% (793 MB)

[#002] sha256:ad41c4af05c85dbb6ddee5f7d30adfbfcc242f91696c61f9fdc7a2ee3f2944b6 - 0.0% (1.25 KB)

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

[#004] sha256:46bc87efe0902584276c75d2a56095f822d1528d12723dd2723615002e9b702f - 0.0% (1.23 KB)

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

[#006] sha256:4f7aed2598f93670c69aff6204193d2c089d25ca943a43d5e754a152fbc45c89 - 28.12% (878 MB)

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

[#008] sha256:2999476564b6c6008bd3d9e8819f9308aa89c883ef833a940cd843626ad8413f - 0.0% (1.23 KB)

[#009] sha256:9df2e46dd24993c80b193b2065a4b9480665e7e10d8a14b5800547c6e8e79948 - 0.0% (1.25 KB)


History
2026-01-11 09:57:36 UTC

Apply image 10.0.26100.32230

2026-07-11 23:02:35 UTC

Install update 10.0.26100.33158

2026-07-15 23:14:57 UTC

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

2026-07-15 23:14:58 UTC

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

2026-07-15 23:14:59 UTC

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

2026-07-15 23:14:59 UTC

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

2026-07-15 23:17:26 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.';

2026-07-15 23:17:27 UTC

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

2026-07-15 23:17:27 UTC

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

2026-07-15 23:17:27 UTC

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

Details
Created

2026-07-15 23:33:11 UTC

Size

2.87 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

46f080a02fb2c1f0371210fc1f3e9a32d92403fdfa7bdcb911f6fa02f4beaa94

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.3.4


Layers

[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 48.36% (1.39 GB)

[#001] sha256:0675e37b24741ccc9e6ff6dda8512e3be78ba3519c8af33b04872e4738349249 - 21.71% (638 MB)

[#002] sha256:772dfe778c88a50a2b43944f086910987cfc6e3945d6add9cbd6204bc10fa9b3 - 0.0% (1.26 KB)

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

[#004] sha256:1bfb552e9d57ee68b437d4df78a12d94cc36e05eb235911b4dd04b764a4e3bdb - 0.0% (1.29 KB)

[#005] sha256:d9d2b1a189f3991349c7026b83c5e89d0f82e1d61e6dffc48e9cc9ba08a23777 - 0.0% (1.27 KB)

[#006] sha256:35d5ff4d8dcbd01d589b2f35111260817a30747f6272b5a6e0ff6d8760084a0e - 29.92% (879 MB)

[#007] sha256:584bc48c0a3c2ff148a1f818bedab2e9042bb73eab1fe38390b5119e72597d26 - 0.0% (1.29 KB)

[#008] sha256:aa0d08332dcc7db19e259ae8b2ae524c500175fd3109bf89c2da4ff007ed515f - 0.0% (1.3 KB)

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


History
2025-10-09 07:51:18 UTC

Apply image 10.0.20348.4294

2026-07-11 16:30:20 UTC

Install update 10.0.20348.5386

2026-07-15 23:27:16 UTC

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

2026-07-15 23:27:18 UTC

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

2026-07-15 23:27:19 UTC

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

2026-07-15 23:27:20 UTC

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

2026-07-15 23:33:08 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.';

2026-07-15 23:33:10 UTC

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

2026-07-15 23:33:10 UTC

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

2026-07-15 23:33:11 UTC

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

Details
Created

2026-07-02 02:30:15 UTC

Size

271 MB

Content Digest
Labels
  • org.opencontainers.image.version
    24.04

Environment
GLIBC_TUNABLES

glibc.pthread.rseq=0

GOSU_VERSION

1.19

HOME

/data/db

JSYAML_CHECKSUM

662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

JSYAML_VERSION

3.13.1

MONGO_MAJOR

8.3

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.3.4

PATH

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


Layers

[#000] sha256:4b987da45db4d6278590ab89840c7167ea397df222f3ee4cdb77c3e15694b1a9 - 10.17% (27.5 MB)

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

[#002] sha256:80bbb0becffa5946c4d8bd1b5facd8e542005f3a41a391bd214be1f9cb1e5734 - 0.51% (1.38 MB)

[#003] sha256:6f20937f279f2cd69d261b1f321bd31acc3ac57e97e7d0631c712b1942d2e895 - 0.31% (865 KB)

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

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

[#006] sha256:9be77732a4d5fcec8fd9830e0ab943c1a5aae714ee4443fa7cc382d4f02f48db - 89.0% (241 MB)

[#007] sha256:a4e9fbe3e9c1400420939ba29b0798365e83f97a54fae95b8b2dc0b3adbacebc - 0.0% (4.89 KB)


History
2026-06-22 21:25:05 UTC

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

2026-06-22 21:25:05 UTC

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

2026-06-22 21:25:05 UTC

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

2026-06-22 21:25:07 UTC

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

2026-06-22 21:25:07 UTC

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

2026-07-02 02:29:42 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-07-02 02:29:48 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-07-02 02:29:57 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-07-02 02:29:57 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2026-07-02 02:29:57 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2026-07-02 02:29:57 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-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '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-07-02 02:29:57 UTC (buildkit.dockerfile.v0)

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

2026-07-02 02:29:57 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2026-07-02 02:29:57 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2026-07-02 02:29:57 UTC (buildkit.dockerfile.v0)

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

2026-07-02 02:29:57 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.3

2026-07-02 02:29:57 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/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/$MONGO_PACKAGE.list" # buildkit

2026-07-02 02:29:57 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.3.4

2026-07-02 02:30:15 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-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2026-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2026-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2026-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

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

2026-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2026-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]