Namespace
library
Image / Tag
mongo:8.0.0-rc19
Content Digest
sha256:bc4b19105361e50f4f211f42f70927278317c24951b0cf29c566664e9ac1a7b5
Details
Created

2024-09-05 07:35:51 UTC

Size

264 MB

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

Environment
GOSU_VERSION

1.17

HOME

/data/db

JSYAML_VERSION

3.13.1

MONGO_MAJOR

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.0.0~rc19

PATH

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


Layers

[#000] sha256:31e907dcc94a592a57796786399eb004dcbba714389fa615f5efa05a91316356 - 10.75% (28.3 MB)

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

[#002] sha256:e39d0269d84e726373763b0df89bfae7cb813a0fdb5253eb424fb5ae207f074d - 1.41% (3.73 MB)

[#003] sha256:511c9d37beff4703539a2330cafed90959582a9ffaaffc01d1f434587a665caf - 0.41% (1.08 MB)

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

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

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

[#007] sha256:46e619a53d55c7f842b8e7a4ed5a2514c9bbfa3453531861ffdcad04b8c34ec2 - 87.43% (230 MB)

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


History
2024-08-01 14:23:53 UTC

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

2024-08-01 14:23:53 UTC

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

2024-08-01 14:23:53 UTC

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

2024-08-01 14:23:53 UTC

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

2024-08-01 14:23:55 UTC

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

2024-08-01 14:23:55 UTC

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

2024-09-05 07:35:51 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

2024-09-05 07:35:51 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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-09-05 07:35:51 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.js "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/dist/js-yaml.js"; wget -O /opt/js-yaml/package.json "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/package.json"; ln -s /opt/js-yaml/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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2024-09-05 07:35:51 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

2024-09-05 07:35:51 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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.0~rc19

2024-09-05 07:35:51 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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2024-09-06 00:06:29 UTC

Size

2.71 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

9088a7b0c22a38f4919d79ab096936eccf15d73c48868bd5000c94be96f8506f

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.0-rc19


Layers

[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 47.77% (1.29 GB)

[#001] sha256:dcd649075383e8df03ea713dfe59e1205716fbaa14450c10ef0d0a24a7b63669 - 25.91% (718 MB)

[#002] sha256:72d3eef502b1ca3e86ecb219540b0e58d0158e1c9ed75a3ac048c79758092d0a - 0.0% (1.26 KB)

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

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

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

[#006] sha256:01decf98ea70a0f7b0d5cd1c0f2311877fc3e2b544e8526649f5a7637c9a1169 - 26.33% (730 MB)

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

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

[#009] sha256:b2956d2be6eb666343d4f869c2c6ae96d87639aef86e11c57be7d6835091d8ae - 0.0% (1.26 KB)


History
2023-06-08 12:55:20 UTC

Apply image 10.0.20348.1787

2024-08-10 19:49:59 UTC

Install update 10.0.20348.2655

2024-09-06 00:03:25 UTC

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

2024-09-06 00:03:25 UTC

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

2024-09-06 00:03:26 UTC

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

2024-09-06 00:03:27 UTC

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

2024-09-06 00:06: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.';

2024-09-06 00:06:27 UTC

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

2024-09-06 00:06:28 UTC

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

2024-09-06 00:06:29 UTC

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

Details
Created

2024-09-06 00:06:11 UTC

Size

2.8 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

9088a7b0c22a38f4919d79ab096936eccf15d73c48868bd5000c94be96f8506f

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.0-rc19


Layers

[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 54.83% (1.54 GB)

[#001] sha256:579bd4d5f7fd8737f66e40b29aafedee32d589107027d75796993c8898e3e7dd - 19.75% (567 MB)

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

[#003] sha256:1b46874b8b29d3172c2f30ecbd6aea13c221181a83ea18d66e10e5e51b89d39e - 0.0% (1.3 KB)

[#004] sha256:47eccf19ec43ea6a8727c833a268f57bb4354aa8d5e18379293935d80b5014e4 - 0.0% (1.27 KB)

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

[#006] sha256:529e92596b07660d8ed43e781fec7a104eae3e06f0ecde8067911b4d95b6f61a - 25.43% (730 MB)

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

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

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


History
2023-06-08 12:58:24 UTC

Apply image 10.0.17763.4499

2024-08-11 07:11:31 UTC

Install update 10.0.17763.6189

2024-09-06 00:03:04 UTC

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

2024-09-06 00:03:05 UTC

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

2024-09-06 00:03:06 UTC

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

2024-09-06 00:03:06 UTC

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

2024-09-06 00:06:10 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.';

2024-09-06 00:06:10 UTC

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

2024-09-06 00:06:11 UTC

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

2024-09-06 00:06:11 UTC

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

Details
Created

2024-09-05 07:35:51 UTC

Size

251 MB

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

Environment
GOSU_VERSION

1.17

HOME

/data/db

JSYAML_VERSION

3.13.1

MONGO_MAJOR

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.0.0~rc19

PATH

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


Layers

[#000] sha256:9f23a71f1e313efedd46a7ba220354d3a6eb7196085ef28ddab1b7f266cb0666 - 10.96% (27.5 MB)

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

[#002] sha256:f91f87b445caeebe347f8a30baa20e1b935bc76791cbd11eb45c2ca97d0dbf78 - 0.57% (1.42 MB)

[#003] sha256:0ffddb0d08866892234ef8ef74e49e6ad14b2f06cec96dc9a31fc4b27fabf9d6 - 0.4% (1.01 MB)

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

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

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

[#007] sha256:1fd989e939f79c058b799ec8700213a8882694f6eb92d044e3e3507156aa4ce2 - 88.07% (221 MB)

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


History
2024-08-01 15:33:35 UTC

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

2024-08-01 15:33:35 UTC

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

2024-08-01 15:33:35 UTC

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

2024-08-01 15:33:36 UTC

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

2024-08-01 15:33:38 UTC

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

2024-08-01 15:33:38 UTC

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

2024-09-05 07:35:51 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

2024-09-05 07:35:51 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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-09-05 07:35:51 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.js "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/dist/js-yaml.js"; wget -O /opt/js-yaml/package.json "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/package.json"; ln -s /opt/js-yaml/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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2024-09-05 07:35:51 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

2024-09-05 07:35:51 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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.0~rc19

2024-09-05 07:35:51 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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

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

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-09-05 07:35:51 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-09-05 07:35:51 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