Namespace
library
Image / Tag
mongo:8.0.10-rc0
Content Digest
sha256:f1b6b4b6f15059f376da80309b98cacc5281267c7553ccb48c63fca6bfb12e6e
Details
Created

2025-05-22 22:13:18 UTC

Size

278 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.10~rc0

PATH

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


Layers

[#000] sha256:d9d352c11bbd3880007953ed6eec1cbace76898828f3434984a0ca60672fdf5a - 10.19% (28.3 MB)

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

[#002] sha256:1512c0f8565ea942a074f4caf8ce9acdf5a32999e13eda5153dbdadc2bc90616 - 0.52% (1.44 MB)

[#003] sha256:4397b30376d4df035510cde54ff25f32a0d7ff5fbb943382aababb7adc71bc54 - 0.39% (1.08 MB)

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

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

[#006] sha256:531fae52f9a12d342108562f067a3ea10d6c5725812feeb00ffada90fda87def - 0.0% (267 Bytes)

[#007] sha256:0e0e226dcd4190deeddc056a6a57013f67a8e7d32b0722137238829d3bee1ed7 - 88.9% (247 MB)

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


History
2025-05-22 22:13:18 UTC

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

2025-05-22 22:13:18 UTC

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

2025-05-22 22:13:18 UTC

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

2025-05-22 22:13:18 UTC

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

2025-05-22 22:13:18 UTC

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

2025-05-22 22:13:18 UTC

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

2025-05-22 22:13:18 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-05-22 22:13: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

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-05-22 22:13:18 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-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

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

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

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

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-05-22 22:13:18 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-05-22 22:13:18 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-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.10~rc0

2025-05-22 22:13:18 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-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

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

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2025-05-22 23:17:40 UTC

Size

3.92 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

fd1ec26bc5e23e26428a7d82a66aceebe581de53499a03f94a20b38aaf1bd1d1

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.10-rc0


Layers

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

[#001] sha256:cc834e13e71633c2d66ec6513d57c31a3157fc5933859d492ecf45fc8a7476c3 - 28.89% (1.13 GB)

[#002] sha256:c61946b53dcfbc00190462ae84070b70a3d725794cfbab7d55bb49c3a6d59db9 - 0.0% (1.36 KB)

[#003] sha256:555eca467e2e52aa8f92fae7f15c42d2733aa9dc94e1b4ba12e587632eba3c1b - 0.0% (1.29 KB)

[#004] sha256:0c0fa24b99e2c728232638c0477b085203d4202eee90babb1e45b639b4ce1acc - 0.0% (1.29 KB)

[#005] sha256:e12e61d3cc4e4f3b9881a078271c3cb549d1a298186dec12e6f8872c7edf457c - 0.0% (1.3 KB)

[#006] sha256:fa7b7f2b58f352fe396d1391fb4d88b1834beec78a253243c730d4d7b596cde7 - 18.44% (740 MB)

[#007] sha256:e9787a10670c95e5e27b3e00eb804e0a2939401e35d77759a51e2832bfeefb49 - 0.0% (1.31 KB)

[#008] sha256:dee2c02b04e8823e67771048e2ebc70b7f5d03a252c34bc26a1a5f37e84374d9 - 0.0% (1.31 KB)

[#009] sha256:3d4a99ae69f991edacc515609e6b6706a4ae3c1e1f75adc6c65675b532349e1e - 0.0% (1.35 KB)


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

Apply image 10.0.26100.2605

2025-05-10 01:13:32 UTC

Install update 10.0.26100.4061

2025-05-22 23:15:34 UTC

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

2025-05-22 23:15:35 UTC

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

2025-05-22 23:15:36 UTC

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

2025-05-22 23:15:37 UTC

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

2025-05-22 23:17:38 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-05-22 23:17:39 UTC

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

2025-05-22 23:17:40 UTC

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

2025-05-22 23:17:40 UTC

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

Details
Created

2025-05-22 23:23:05 UTC

Size

2.84 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

fd1ec26bc5e23e26428a7d82a66aceebe581de53499a03f94a20b38aaf1bd1d1

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.10-rc0


Layers

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

[#001] sha256:9f99f0856d3665c6aeede32823351187cdab09d90cb8608ff70427d552ab356b - 26.61% (774 MB)

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

[#003] sha256:281e5b753007f73ae734e8c1108cbf0fd9efd8a21b995e05f44f5ca13e8e7a3c - 0.0% (1.25 KB)

[#004] sha256:092b0bb21087034cdbcfe08f21101145c969f3796d4ac04e819175486fd5bb8c - 0.0% (1.25 KB)

[#005] sha256:57c71741744992042136a2a34535d00e27814ca87a5f752455b79cdb2deb7126 - 0.0% (1.25 KB)

[#006] sha256:17d7afbeabdcbc307bac528df5eebd3f3f3f9f036196406d7304269ce65ee43c - 25.44% (740 MB)

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

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

[#009] sha256:018ee2432e6aa8792d225c2b933c74ec2435f2e143c5002b2bee5f89dc4dc407 - 0.0% (1.25 KB)


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

Apply image 10.0.20348.2700

2025-05-09 19:38:10 UTC

Install update 10.0.20348.3692

2025-05-22 23:21:35 UTC

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

2025-05-22 23:21:36 UTC

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

2025-05-22 23:21:37 UTC

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

2025-05-22 23:21:38 UTC

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

2025-05-22 23:23:01 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-05-22 23:23:03 UTC

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

2025-05-22 23:23:04 UTC

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

2025-05-22 23:23:05 UTC

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

Details
Created

2025-05-22 22:13:18 UTC

Size

267 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.10~rc0

PATH

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


Layers

[#000] sha256:69c262fc30fc134b6d373dee8db695319c41d8b9489deb0f682565473bf29748 - 10.32% (27.5 MB)

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

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

[#003] sha256:65024cf76958ee0d4cb6166ad17c6bc4674effc6e9355e85a4364272efbe8373 - 0.38% (1.01 MB)

[#004] sha256:6f88639c7671b9c8511b8658d20b7466601713a6eb4b208f8e6dcbe9ac38ed7e - 0.0% (114 Bytes)

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

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

[#007] sha256:d1977845b1d44cbc82f0ff11cbf3c05e1072d445b910b6a08e409a57979a1eae - 88.76% (237 MB)

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


History
2025-05-22 22:13:18 UTC

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

2025-05-22 22:13:18 UTC

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

2025-05-22 22:13:18 UTC

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

2025-05-22 22:13:18 UTC

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

2025-05-22 22:13:18 UTC

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

2025-05-22 22:13:18 UTC

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

2025-05-22 22:13:18 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-05-22 22:13: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

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-05-22 22:13:18 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-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

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

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

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

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-05-22 22:13:18 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-05-22 22:13:18 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-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.10~rc0

2025-05-22 22:13:18 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-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

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

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-05-22 22:13:18 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-05-22 22:13:18 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