Namespace
library
Image / Tag
mongo:8.0.0-rc20
Content Digest
sha256:fab2c3c5cd235594e618bc133cc02d0d034890cfa41a6d23176ea780c9fb403e
Details
Created

2024-09-06 10:01:46 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~rc20

PATH

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


Layers

[#000] sha256:dafa2b0c44d2cfb0be6721f079092ddf15dc8bc537fb07fe7c3264c15cb2e8e6 - 10.76% (28.4 MB)

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

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

[#003] sha256:93dade0f319c93c890cb842711c93fefb4b5ff39a8852cdad18853781e5b56b0 - 0.41% (1.08 MB)

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

[#005] sha256:fe881cf514ab17c4d432b467a812db25a23f2f8b024624c11764dbe0774e9c1c - 0.0% (268 Bytes)

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

[#007] sha256:57d0058dfaabf316c6a610bc3f8708ce60418417ab75ceda7db4b1c5bfe7fbc9 - 87.41% (230 MB)

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


History
2024-08-27 15:55:01 UTC

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

2024-08-27 15:55:01 UTC

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

2024-08-27 15:55:01 UTC

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

2024-08-27 15:55:01 UTC

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

2024-08-27 15:55:03 UTC

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

2024-08-27 15:55:03 UTC

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

2024-09-06 10:01:46 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-06 10:01:46 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-06 10:01:46 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-09-06 10:01:46 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-06 10:01:46 UTC (buildkit.dockerfile.v0)

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

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

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

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2024-09-06 10:01:46 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-06 10:01:46 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-06 10:01:46 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.0~rc20

2024-09-06 10:01:46 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-06 10:01:46 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

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

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2024-09-11 00:03:21 UTC

Size

2.07 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

e249a459aa7fa943c344b2421aac8f2c5bbec397fb708fc3544bcc3902eb4306

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.0-rc20


Layers

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

[#001] sha256:7204e0f6474163acf4f7a91bc12caeab4f028da77f55f13ff0ebc57d4642f3a6 - 0.0% (1.26 KB)

[#002] sha256:c530db58708b73657edb0c6e8ceec5eb0372ed0b73f083305d12ee2637f5928f - 0.0% (1.28 KB)

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

[#004] sha256:37f56713a8a7e8a5e9095b1c33f9a20b88d44ffccb732dbd49751facb584143a - 0.0% (1.25 KB)

[#005] sha256:dbe94365c262737a8752fa7e05d7829f217aeed98412eeba27a9b486dbbbfc1a - 34.35% (730 MB)

[#006] sha256:6cbd0692a56561af035440434f7588e5e782e752e820c4cbff0385b2f51612ca - 0.0% (1.26 KB)

[#007] sha256:234a9fcbc8405a535fec2701aa6498925e7509a64a0b7c5064312b11315e7d5d - 0.0% (1.29 KB)

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


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

Apply image 10.0.20348.2700

2024-09-11 00:01:29 UTC

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

2024-09-11 00:01:30 UTC

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

2024-09-11 00:01:31 UTC

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

2024-09-11 00:01:31 UTC

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

2024-09-11 00:03:20 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-11 00:03:20 UTC

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

2024-09-11 00:03:21 UTC

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

2024-09-11 00:03:21 UTC

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

Details
Created

2024-09-11 00:06:44 UTC

Size

2.31 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

e249a459aa7fa943c344b2421aac8f2c5bbec397fb708fc3544bcc3902eb4306

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.0-rc20


Layers

[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 69.22% (1.6 GB)

[#001] sha256:e42d38490384e8c5b34d8319316549f8b84b69e8deeb740ab64a1b08e0c1135a - 0.0% (1.26 KB)

[#002] sha256:fa551914270f0120ecb0eb4631a9e38ef9b91e8c913132f05c66a72ea26e90d7 - 0.0% (1.27 KB)

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

[#004] sha256:1d03d1d0423c3bf56aa928865345ed712e12d8431455b964edfea550f076c7bf - 0.0% (1.25 KB)

[#005] sha256:cb0749128a837f0a728c68de25dda22ca317dc2355ae5468397b657cd7724cce - 30.78% (730 MB)

[#006] sha256:07e89562c1783e92fb052963557a17db3fe12d14836616a0754c5e2b05eaaca4 - 0.0% (1.26 KB)

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

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


History
2024-09-06 01:15:31 UTC

Apply image 10.0.17763.6293

2024-09-11 00:04:41 UTC

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

2024-09-11 00:04:43 UTC

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

2024-09-11 00:04:43 UTC

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

2024-09-11 00:04:44 UTC

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

2024-09-11 00:06:42 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-11 00:06:43 UTC

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

2024-09-11 00:06:43 UTC

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

2024-09-11 00:06:44 UTC

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

Details
Created

2024-09-06 10:01:46 UTC

Size

253 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~rc20

PATH

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


Layers

[#000] sha256:6e59cb05818e49ea83cbe79bd46eb80418dfe3cb3735b45570f93a23579e2cec - 10.88% (27.5 MB)

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

[#002] sha256:97e00d6a0366086c03c90bba6170ac7dc7eaf856077c07b55ae99992551d7c71 - 1.4% (3.53 MB)

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

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

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

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

[#007] sha256:6061f0aa8f74ef9256f65383f97c3684d3725000b79b184a95872dfda593cbf2 - 87.32% (221 MB)

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


History
2024-08-27 15:55:18 UTC

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

2024-08-27 15:55:18 UTC

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

2024-08-27 15:55:18 UTC

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

2024-08-27 15:55:18 UTC

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

2024-08-27 15:55:20 UTC

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

2024-08-27 15:55:20 UTC

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

2024-09-06 10:01:46 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-06 10:01:46 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-06 10:01:46 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-09-06 10:01:46 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-06 10:01:46 UTC (buildkit.dockerfile.v0)

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

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

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

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2024-09-06 10:01:46 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-06 10:01:46 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-06 10:01:46 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.0~rc20

2024-09-06 10:01:46 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-06 10:01:46 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

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

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-09-06 10:01:46 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-09-06 10:01:46 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