Namespace
library
Image / Tag
mongo:6.0-rc
Content Digest
sha256:3da68e34b1b5875ff7e3bdfc75013b90106c93509d9b57b67b4176382b2691dc
Details
Created

2025-08-12 22:01:18 UTC

Size

255 MB

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

Environment
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

6.0.26~rc0

PATH

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


Layers

[#000] sha256:a3be5d4ce40198dc77f17780f02720f55b1898a2368f701dd1619fc9f84aac86 - 11.07% (28.2 MB)

[#001] sha256:50a8927f978f2c93fd1f55fcbcbe257ec1f8ae6e25fd042d56c5de709e0305cd - 0.0% (1.74 KB)

[#002] sha256:a02832f44ba3a84c2cd0c97b607abac5f6d24bfdcad72f16a0658bedc54066d6 - 0.57% (1.44 MB)

[#003] sha256:991dcc46c12a5cb25d791caef704fbefa4e16b4f6b6a9fad5952cb38112bd67e - 0.41% (1.05 MB)

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

[#005] sha256:58f9ff25df08a11b1db3031e53798556d8ede10b6a167011a4266e4cfe3458fb - 0.0% (264 Bytes)

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

[#007] sha256:62f541385b71e5db0d506f4682898e4f984441be8082531d367381915f6dec10 - 87.95% (224 MB)

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


History
2025-07-30 05:32:11 UTC

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

2025-07-30 05:32:11 UTC

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

2025-07-30 05:32:11 UTC

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

2025-07-30 05:32:11 UTC

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

2025-07-30 05:32:14 UTC

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

2025-07-30 05:32:14 UTC

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

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

ENV GOSU_VERSION=1.17

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-08-12 22:01: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-6.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' '39BD841E4BE5FB195A65400E6A26B1AE64C3C388' > /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-12 22:01:18 UTC (buildkit.dockerfile.v0)

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

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

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

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-08-12 22:01: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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2025-08-12 22:01: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 jammy/${MONGO_PACKAGE%-unstable}/6.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-6.0.list" # buildkit

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=6.0.26~rc0

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

VOLUME [/data/db /data/configdb]

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

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

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2025-08-12 23:40:17 UTC

Size

3.75 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

ed437d534ae2934870d2efe2d0e3fcb326a1367f28496c8ccf48697cd4ee5f2b

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.26-rc0


Layers

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

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

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

[#003] sha256:466eb80f65f7d4d5f72b830384b7a4acc4deee450251c3d7a7bdd9e950ef53c3 - 0.0% (1.35 KB)

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

[#005] sha256:1df42ae850e4e236b5449f83127585f6f08c60f83cd3da26cd82c73d3e2366b0 - 0.0% (1.31 KB)

[#006] sha256:01a7e66de4f970649ae579d32ac47afe2e112e9febb5f1b0c97da8bc6d89c0f5 - 13.1% (503 MB)

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

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

[#009] sha256:ab2ce6618b7ff881ed37af7dbebff9694d08db02af1266b9fee02cd8715955ed - 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 23:39:26 UTC

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

2025-08-12 23:39:27 UTC

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

2025-08-12 23:39:27 UTC

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

2025-08-12 23:39:28 UTC

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

2025-08-12 23:40:16 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 23:40:16 UTC

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

2025-08-12 23:40:17 UTC

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

2025-08-12 23:40:17 UTC

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

Details
Created

2025-08-12 23:40:12 UTC

Size

2.62 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

ed437d534ae2934870d2efe2d0e3fcb326a1367f28496c8ccf48697cd4ee5f2b

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.26-rc0


Layers

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

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

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

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

[#004] sha256:65ce0d5f3d2c92b8e70dd6899c14d22fd48742b1e00b72d77cfb20127781980a - 0.0% (1.25 KB)

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

[#006] sha256:24555859afbe97f913145fb21e96f7e883cba7dda7e26522b51bb17da9cb7c24 - 18.77% (503 MB)

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

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

[#009] sha256:22df90385509bafa5acc59d7a7f25b2afc351234308fd11cd143a1ac6afce958 - 0.0% (1.25 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 23:39:02 UTC

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

2025-08-12 23:39:03 UTC

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

2025-08-12 23:39:04 UTC

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

2025-08-12 23:39:05 UTC

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

2025-08-12 23:40:05 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 23:40:10 UTC

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

2025-08-12 23:40:11 UTC

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

2025-08-12 23:40:12 UTC

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

Details
Created

2025-08-12 22:01:18 UTC

Size

244 MB

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

Environment
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

6.0.26~rc0

PATH

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


Layers

[#000] sha256:12988d4e65587a5bf2d724b19602de581247805c1ae6298b95f29cef57aabbed - 10.69% (26.1 MB)

[#001] sha256:fc7e13b8c53377f8922dcd482347530119c3603a3dc98861cbfdd9f14c562a9a - 0.0% (1.75 KB)

[#002] sha256:4dd72ac03ee5df6847c9f8b19aca5f3b6a8e51d2b5a37536f5b458d506eb9b41 - 0.58% (1.41 MB)

[#003] sha256:3494cb048f1f15a047a15e505f55fb98469ef7c2fa321e7c181217ab21874bb7 - 0.4% (1000 KB)

[#004] sha256:1f49ac716845cf2d5a9feeaac150eee14cfe662be7de324b8262a5b8321fc1e3 - 0.0% (114 Bytes)

[#005] sha256:7433033e0be3e203a1ea7d07092cb7b29062310d2ff47378980ab0f41b20a326 - 0.0% (264 Bytes)

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

[#007] sha256:e1d1a93a95eb39b16c65775aabd4c32e1536e840c076fe4edfb11d9d1a0549bf - 88.32% (216 MB)

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


History
2025-07-30 05:34:14 UTC

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

2025-07-30 05:34:14 UTC

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

2025-07-30 05:34:14 UTC

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

2025-07-30 05:34:14 UTC

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

2025-07-30 05:34:17 UTC

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

2025-07-30 05:34:17 UTC

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

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

ENV GOSU_VERSION=1.17

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-08-12 22:01: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-6.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' '39BD841E4BE5FB195A65400E6A26B1AE64C3C388' > /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-12 22:01:18 UTC (buildkit.dockerfile.v0)

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

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

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

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-08-12 22:01: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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2025-08-12 22:01: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 jammy/${MONGO_PACKAGE%-unstable}/6.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-6.0.list" # buildkit

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=6.0.26~rc0

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

VOLUME [/data/db /data/configdb]

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

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

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-08-12 22:01:18 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

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