Namespace
library
Image / Tag
mongo:7.0.5-rc0
Content Digest
sha256:79eeb70243c4b431ee17281f6c0466d324da79eab0861eaf6f2c16526dc34022
Details
Created

2023-12-20 23:01:46 UTC

Size

248 MB

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

Environment
GOSU_VERSION

1.16

HOME

/data/db

JSYAML_VERSION

3.13.1

MONGO_MAJOR

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

7.0.5~rc0

PATH

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


Layers

[#000] sha256:a486411936734b0d1d201c8a0ed8e9d449a64d5033fdc33411ec95bc26460efb - 11.36% (28.2 MB)

[#001] sha256:18f48618d819afb0b640009578475d226f601171377def23c8c74dd105c7d577 - 0.0% (1.74 KB)

[#002] sha256:40d3318d9c12a246044ea9040bf0f68557ff52e5694ea0ba80ca3df9062ab4c6 - 1.94% (4.82 MB)

[#003] sha256:d5523639f02e89c1778a3f92d2b5bc4493aa404e6a7f00ae65605319ec41807e - 0.42% (1.05 MB)

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

[#005] sha256:685a19fde7c05f5ce36077a815c2acd0d1859ebd81a919f20aff79b0a919bff2 - 0.0% (2.49 KB)

[#006] sha256:8d42fc9978eedd3f7c777a242c6d0d9dbce4aaed7b79aa4d223bdd23691be992 - 0.0% (268 Bytes)

[#007] sha256:4501ff87380279d09f0c487602bc3f0715e4b8478b399708e4b834313addb7fe - 0.0% (268 Bytes)

[#008] sha256:9a49df864ccead6d64731c34dfc80477c4d72db33838dd33cd582ee00f84c073 - 86.27% (214 MB)

[#009] sha256:660020bab060802f0000dcdb29db836f65a4f66f918078cf86d3f6724119f4f5 - 0.0% (4.88 KB)


History
2023-12-12 11:38:57 UTC

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

2023-12-12 11:38:57 UTC

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

2023-12-12 11:38:57 UTC

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

2023-12-12 11:38:57 UTC

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

2023-12-12 11:38:59 UTC

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

2023-12-12 11:38:59 UTC

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

2023-12-20 23: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

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg jq numactl procps ; rm -rf /var/lib/apt/lists/* # buildkit

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends 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; 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

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

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

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'E58830201F7DD82CD808AA84160D26BB1785BA38'; for key; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; mkdir -p /etc/apt/keyrings; gpg --batch --export "$@" > /etc/apt/keyrings/mongodb.gpg; gpgconf --kill all; rm -rf "$GNUPGHOME" # buildkit

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

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

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2023-12-20 23: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.gpg ] http://$MONGO_REPO/apt/ubuntu jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2023-12-20 23: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.gpg ] http://$MONGO_REPO/apt/ubuntu jammy/${MONGO_PACKAGE%-unstable}/7.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-7.0.list" # buildkit

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=7.0.5~rc0

2023-12-20 23: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

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

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

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2023-12-21 20:56:23 UTC

Size

2.33 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

7c988b5af02bcf210c4e2f92a17aea9e4e11be51782b76b868070b42c67a442a

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.5-rc0


Layers

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

[#001] sha256:7839fc47f6e056f9e09a214230f8b7115e69419dbc74acbbb1ad6bc0caa28862 - 20.01% (477 MB)

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

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

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

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

[#006] sha256:bc018f1b5c2ea63a8551e405a6034aeaac37c20482d247695685ee2122dcb944 - 24.5% (585 MB)

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

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

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


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

Apply image 10.0.20348.1787

2023-12-02 12:42:56 UTC

Install update 10.0.20348.2159

2023-12-21 20:53:42 UTC

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

2023-12-21 20:53:43 UTC

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

2023-12-21 20:53:44 UTC

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

2023-12-21 20:53:44 UTC

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

2023-12-21 20:56: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.';

2023-12-21 20:56:21 UTC

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

2023-12-21 20:56:22 UTC

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

2023-12-21 20:56:23 UTC

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

Details
Created

2023-12-21 20:56:40 UTC

Size

2.49 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

7c988b5af02bcf210c4e2f92a17aea9e4e11be51782b76b868070b42c67a442a

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.5-rc0


Layers

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

[#001] sha256:e35ae5ad761bfd7e5fb48c234de8722eaa28e17e2c956816fecb417ab6259c29 - 15.31% (390 MB)

[#002] sha256:fda0fdf28cd38deb5bb26d8b197c034396ea09c7942aa62a59e1343945a3b8de - 0.0% (1.33 KB)

[#003] sha256:356da5762d583a58a3895c608673e8e749ea9c094698ddb3af240f4a4b5fbb00 - 0.0% (1.33 KB)

[#004] sha256:26f37aa713cbbe8366e4485cc3df51d444881c12fd1f65c18f1fc346e3cc864b - 0.0% (1.34 KB)

[#005] sha256:f2e69b13b9fad7f64f778e3c94d3eab482b72a1cb8a5e80f35ba6520958f427d - 0.0% (1.3 KB)

[#006] sha256:b722ca33dccb38d1fcb94a4777f1fc4fddc36e45f8da5bed11234e2468de5fcb - 22.94% (585 MB)

[#007] sha256:488b44fd1af5473849fe90d189ee6526c34f115250ce1f5ae0b8fe901eeb70f3 - 0.0% (1.29 KB)

[#008] sha256:4c5fb59922cb6fbbd68cfa35148a5e1561a68bc599749e0820c0841261f985c4 - 0.0% (1.34 KB)

[#009] sha256:c29027e3a77f56f63835bbb5d1415a1ffef7acf7e148b8d39f021e024a577ef2 - 0.0% (1.29 KB)


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

Apply image 10.0.17763.4499

2023-12-04 11:24:49 UTC

Install update 10.0.17763.5206

2023-12-21 20:53:44 UTC

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

2023-12-21 20:53:46 UTC

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

2023-12-21 20:53:46 UTC

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

2023-12-21 20:53:47 UTC

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

2023-12-21 20:56:38 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.';

2023-12-21 20:56:38 UTC

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

2023-12-21 20:56:39 UTC

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

2023-12-21 20:56:40 UTC

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

Details
Created

2023-12-20 23:01:46 UTC

Size

240 MB

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

Environment
GOSU_VERSION

1.16

HOME

/data/db

JSYAML_VERSION

3.13.1

MONGO_MAJOR

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

7.0.5~rc0

PATH

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


Layers

[#000] sha256:005e2837585d0b391170fd9faf2e0c279d64ba0eb011cda8dedf28cb5839861e - 10.86% (26.1 MB)

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

[#002] sha256:81fcf60fea85148cf8db272596d20236398f26e0a280d8cec374de81aa444e97 - 1.98% (4.76 MB)

[#003] sha256:05da3aee34af09b4d42d3f493c4227bc34d568cf8f4b2f78f030e25bf7dd43f7 - 0.41% (1010 KB)

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

[#005] sha256:7b1eea8575cc202c346342fcf6f848333d670284399a910f5498da9aaf5ace04 - 0.0% (2.49 KB)

[#006] sha256:64dd074e7e69377840695bd1a4d28e854bc262a0c78e2cf8c2a60d5d26547d6b - 0.0% (271 Bytes)

[#007] sha256:9f2c3f17fdc998d18619aa4cdc11448e443e365626a8c1e28110519f758dd8d0 - 0.0% (270 Bytes)

[#008] sha256:42e007075e19d7fdc97eaf3aca5eeb85c9cded3c89b3ec85aaffb5bf4f1047ce - 86.75% (208 MB)

[#009] sha256:963cf17272e27a596fa914d955228ffae7685a19ae13b067ba0a53e079888493 - 0.0% (4.88 KB)


History
2023-12-12 11:41:50 UTC

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

2023-12-12 11:41:50 UTC

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

2023-12-12 11:41:50 UTC

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

2023-12-12 11:41:51 UTC

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

2023-12-12 11:41:54 UTC

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

2023-12-12 11:41:54 UTC

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

2023-12-20 23: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

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg jq numactl procps ; rm -rf /var/lib/apt/lists/* # buildkit

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends 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; 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

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

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

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'E58830201F7DD82CD808AA84160D26BB1785BA38'; for key; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; mkdir -p /etc/apt/keyrings; gpg --batch --export "$@" > /etc/apt/keyrings/mongodb.gpg; gpgconf --kill all; rm -rf "$GNUPGHOME" # buildkit

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

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

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2023-12-20 23: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.gpg ] http://$MONGO_REPO/apt/ubuntu jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2023-12-20 23: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.gpg ] http://$MONGO_REPO/apt/ubuntu jammy/${MONGO_PACKAGE%-unstable}/7.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-7.0.list" # buildkit

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=7.0.5~rc0

2023-12-20 23: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

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

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

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-12-20 23:01:46 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2023-12-20 23: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