Namespace
library
Image / Tag
mongo:8.0.1-rc0
Content Digest
sha256:9920c5ae538f9dda75fee1cb9b17ef0c4dd323565daa7e85114f9cffac7e1e80
Details
Created

2024-09-29 04:01:36 UTC

Size

262 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.1~rc0

PATH

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


Layers

[#000] sha256:eda6120e237e0bdd328bc3e0f610854590400d4f96d9678dfcf781edb2f541d0 - 10.84% (28.4 MB)

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

[#002] sha256:b9c8b433654803e8b4c5a56fd9109d439a1e412c5fda78f6ed60bb5af68fe18f - 0.66% (1.73 MB)

[#003] sha256:468a8d816a7a2feb3c3d01e415d0da885e838b9ac3fbf834232c0cfdec4e43f0 - 0.41% (1.08 MB)

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

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

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

[#007] sha256:ae9f738e9076cb0a74cf7652eb6eb5563410eb71bb70ef99c2569fb6aece3a0a - 88.08% (230 MB)

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


History
2024-09-16 06:23:30 UTC

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

2024-09-16 06:23:30 UTC

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

2024-09-16 06:23:30 UTC

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

2024-09-16 06:23:30 UTC

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

2024-09-16 06:23:32 UTC

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

2024-09-16 06:23:33 UTC

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

2024-09-29 04:01:36 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-29 04:01:36 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-29 04:01:36 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-09-29 04:01:36 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-29 04:01:36 UTC (buildkit.dockerfile.v0)

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

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

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

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2024-09-29 04:01:36 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-29 04:01:36 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-29 04:01:36 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.1~rc0

2024-09-29 04:01:36 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-29 04:01:36 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

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

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2024-10-01 01:05:47 UTC

Size

2.08 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

b029528f106f4b443e0788b5dfd6f8a50277af93c9e314ad8e5c4a2d5a0e5ad5

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.1-rc0


Layers

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

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

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

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

[#004] sha256:750f9adde7e4a6915cc9bc760591b210137d0470adef09483bde617b1db0781d - 0.0% (1.25 KB)

[#005] sha256:99697782c73e8d280a5b0ab885d6a1ad3ecfd3ff6cb3dc4fe45ba313021b0b43 - 34.39% (731 MB)

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

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

[#008] sha256:28c596685475e931aaadf7aabab7b632f3aa81a9ddce977e093a7ed507d29130 - 0.0% (1.25 KB)


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

Apply image 10.0.20348.2700

2024-10-01 01:02:54 UTC

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

2024-10-01 01:02:55 UTC

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

2024-10-01 01:02:56 UTC

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

2024-10-01 01:02:56 UTC

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

2024-10-01 01:05:45 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-10-01 01:05:46 UTC

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

2024-10-01 01:05:47 UTC

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

2024-10-01 01:05:47 UTC

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

Details
Created

2024-10-01 01:04:36 UTC

Size

2.32 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

b029528f106f4b443e0788b5dfd6f8a50277af93c9e314ad8e5c4a2d5a0e5ad5

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.1-rc0


Layers

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

[#001] sha256:d3df1081281f02fd67775d4f231da60624d91666acd019009651420c3d61bd9e - 0.0% (1.27 KB)

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

[#003] sha256:4234de18fb487336d77174a6ca81d36c2730c7c557881299a4bc484ce2d917aa - 0.0% (1.27 KB)

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

[#005] sha256:6fb2899fb1ad7f193a13d5ea30ad75f2ebc524fbab868302a590addfed098ea4 - 30.82% (731 MB)

[#006] sha256:1f287caba953f3a2f34817ece88bff15fce2f01d8610e933b1c3df8697d38d38 - 0.0% (1.27 KB)

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

[#008] sha256:83e15bf5440dab7d894b31465a73a6439c7b0bc2b82cd9a2cee8aca221a48fbb - 0.0% (1.27 KB)


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

Apply image 10.0.17763.6293

2024-10-01 01:02:43 UTC

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

2024-10-01 01:02:44 UTC

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

2024-10-01 01:02:44 UTC

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

2024-10-01 01:02:45 UTC

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

2024-10-01 01:04:34 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-10-01 01:04:35 UTC

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

2024-10-01 01:04:36 UTC

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

2024-10-01 01:04:36 UTC

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

Details
Created

2024-09-29 04:01:36 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.1~rc0

PATH

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


Layers

[#000] sha256:25a614108e8d9c23a53cb3193f34ba623efe45c81ccaaa2281092b512ef7e07e - 10.96% (27.5 MB)

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

[#002] sha256:52b745a2d75ed5e1081baf2a9b8e3ed414025313a4dc8b07c93b43b4c8794e4d - 0.69% (1.73 MB)

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

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

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

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

[#007] sha256:cbb805f42480aa819a50b85df0886303ca4f0e5954dea4288ac1c7d087d77a34 - 87.95% (221 MB)

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


History
2024-09-16 06:23:55 UTC

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

2024-09-16 06:23:55 UTC

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

2024-09-16 06:23:55 UTC

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

2024-09-16 06:23:55 UTC

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

2024-09-16 06:23:58 UTC

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

2024-09-16 06:23:59 UTC

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

2024-09-29 04:01:36 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-29 04:01:36 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-29 04:01:36 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-09-29 04:01:36 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-29 04:01:36 UTC (buildkit.dockerfile.v0)

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

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

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

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2024-09-29 04:01:36 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-29 04:01:36 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-29 04:01:36 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.1~rc0

2024-09-29 04:01:36 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-29 04:01:36 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

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

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-09-29 04:01:36 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-09-29 04:01:36 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