Namespace
library
Image / Tag
mongo:7.0.23-rc1
Content Digest
sha256:7e260abc96b7dffdc86db12afe95b9186a67682f3337c96bfbda1e4a1f490b20
Details
Created

2025-08-04 04:01:25 UTC

Size

267 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

7.0.23~rc1

PATH

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


Layers

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

[#001] sha256:4502b44d8fdd8f6bdc634f4bb19f27ce188f555d4fb821118bc4df3816e4ba66 - 0.0% (1.74 KB)

[#002] sha256:a4220dd96376e31dec4b8c40c1a50cf89eb7aefcccbfccd26b5f5732cd4761d5 - 0.54% (1.44 MB)

[#003] sha256:e0f61ad1831a82a2e5820436b33b38a3b37d2221d9a141cd24d139788e39a0f2 - 0.39% (1.05 MB)

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

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

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

[#007] sha256:480b6c3676c657dfd811ce7f85056231f7e862e18bb5f6202755f86b45e7d2bd - 88.51% (236 MB)

[#008] sha256:6c6fb41c35f204ea0b1717a7a664d1d8349e0523a487cc0e7ccd9104a0703b53 - 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-04 04:01:25 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-04 04:01:25 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-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-08-04 04:01:25 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-7.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'E58830201F7DD82CD808AA84160D26BB1785BA38' > /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-04 04:01:25 UTC (buildkit.dockerfile.v0)

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

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

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

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-08-04 04:01:25 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-04 04:01:25 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}/7.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-7.0.list" # buildkit

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=7.0.23~rc1

2025-08-04 04:01:25 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-04 04:01:25 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

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

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2025-08-12 20:29:04 UTC

Size

3.83 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

9faec6c49a5201c3ee331e02e11b8f8681bb7b222507165c994d85782b3902c8

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.23-rc1


Layers

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

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

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

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

[#004] sha256:84e92aee457c6266cae2bd7f29b4e1418d36a641551344021151f3c9630d43d0 - 0.0% (1.3 KB)

[#005] sha256:9bc4e66c9a3584b6e9bf85cd215fad2708a29bc9c6a0bf5cdd9cbf52924946fe - 0.0% (1.33 KB)

[#006] sha256:5b063bbdd5b3cb50483986fae7492fd903a87798f52e460bf4248c948b90294b - 15.01% (589 MB)

[#007] sha256:7b70578d832e3a0539e83a44aae2f0c69a8574742d1edf53ef877dc4a30f857e - 0.0% (1.3 KB)

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

[#009] sha256:f89e39d5724ae83fae6c8bd3846a6a8c525949eced9bcd237a8c8168b92023bb - 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 20:27:50 UTC

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

2025-08-12 20:27:50 UTC

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

2025-08-12 20:27:50 UTC

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

2025-08-12 20:27:51 UTC

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

2025-08-12 20:28:59 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 20:29:03 UTC

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

2025-08-12 20:29:04 UTC

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

2025-08-12 20:29:04 UTC

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

Details
Created

2025-08-12 20:33:58 UTC

Size

2.7 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

9faec6c49a5201c3ee331e02e11b8f8681bb7b222507165c994d85782b3902c8

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.23-rc1


Layers

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

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

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

[#003] sha256:29d0b6328e2159257b592663e378540d0653906ad4ace2dffa98847f686059c7 - 0.0% (1.25 KB)

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

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

[#006] sha256:5dec3b3f318b03bf8a26f909121a5097ae909231d6ee7c6838f332486ee94703 - 21.31% (589 MB)

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

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

[#009] sha256:d281bef1c4f8876fe66330219a7b69996c3ec387d86dfc31a763088f18f0a829 - 0.0% (1.26 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 20:32:53 UTC

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

2025-08-12 20:32:55 UTC

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

2025-08-12 20:32:56 UTC

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

2025-08-12 20:32:58 UTC

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

2025-08-12 20:33:50 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 20:33:55 UTC

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

2025-08-12 20:33:56 UTC

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

2025-08-12 20:33:58 UTC

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

Details
Created

2025-08-04 04:01:25 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

7.0.23~rc1

PATH

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


Layers

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

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

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

[#003] sha256:7671b1da19fbf50956abd36a65b418963b7decb08fbf749ac25b218c9f47c984 - 0.38% (1000 KB)

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

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

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

[#007] sha256:8c3c26c5d4d33c78d4cb0b376ece67afc7e0ec584a2d31d92ffeaa7b889a459a - 88.83% (227 MB)

[#008] sha256:99bc06523eeac0d803ac9e7e56a6329b30a7aeaf4109a0ac0d107fac7da9b9a5 - 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-04 04:01:25 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-04 04:01:25 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-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-08-04 04:01:25 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-7.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'E58830201F7DD82CD808AA84160D26BB1785BA38' > /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-04 04:01:25 UTC (buildkit.dockerfile.v0)

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

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

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

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-08-04 04:01:25 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-04 04:01:25 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}/7.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-7.0.list" # buildkit

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=7.0.23~rc1

2025-08-04 04:01:25 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-04 04:01:25 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

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

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-08-04 04:01:25 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-08-04 04:01:25 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