Namespace
library
Image / Tag
mongo:6.0.13-rc0
Content Digest
sha256:41b5bdfaa4546b8c278e60398bd60464807ee254ebb3554faafb596ef477fd62
Details
Created

2024-01-09 05:01:33 UTC

Size

236 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

6.0.13~rc0

PATH

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


Layers

[#000] sha256:29202e855b2021a2d7f92800619ed5f5e8ac402e267cfbb3d29a791feb13c1ee - 11.93% (28.2 MB)

[#001] sha256:7513301b17d707b2712858ea235b7cb644e763aba3502ede146b4530cd539be8 - 0.0% (1.74 KB)

[#002] sha256:bd1f9238476b312a0efdea9ea1d12458b592f160aee2f40ba0d178b31d548d99 - 2.04% (4.82 MB)

[#003] sha256:a650c345cfb3214b38ebce127483bdf86078f142a452ede679ed8377ed4b2b96 - 0.44% (1.05 MB)

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

[#005] sha256:793c597762a629b4666dbbd6e4a15599a22e466940d2d2c56193dbfcb2fd06f4 - 0.0% (2.48 KB)

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

[#007] sha256:b508862587ce85bedb9eeba665df6b2cf523fe70f2e3eadc741b47bb09ad4276 - 0.0% (267 Bytes)

[#008] sha256:7344410166ce0751bbad4e193391c726994f88662e70987a0f86d8ad5e788e21 - 85.58% (202 MB)

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


History
2024-01-09 05:01:33 UTC

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

2024-01-09 05:01:33 UTC

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

2024-01-09 05:01:33 UTC

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

2024-01-09 05:01:33 UTC

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

2024-01-09 05:01:33 UTC

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

2024-01-09 05:01:33 UTC

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

2024-01-09 05:01:33 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-01-09 05:01:33 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

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-01-09 05:01:33 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

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

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

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' '39BD841E4BE5FB195A65400E6A26B1AE64C3C388'; 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

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

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

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2024-01-09 05:01:33 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

2024-01-09 05:01:33 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}/6.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-6.0.list" # buildkit

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=6.0.13~rc0

2024-01-09 05:01:33 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-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

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

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2024-01-11 00:03:49 UTC

Size

2.25 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

08cfe4776b8d0901654912a0bb5cd0bd5b50e6f6eeaf8890e7e76172c22c5111

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.13-rc0


Layers

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

[#001] sha256:a97a84f9ecb04e6f34ca7d17667bf0abbd83ea39301725226a2352330b4402d3 - 21.15% (488 MB)

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

[#003] sha256:77b40388de9f470c9ebbaec8bbcea2ebec77565575bcdf19f25e5bd2ac88d2df - 0.0% (1.26 KB)

[#004] sha256:dd438e4615514126da97e77e7797f8373ff758ab2224336fae1a1a13b131bda5 - 0.0% (1.29 KB)

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

[#006] sha256:acea57f1ed1beb79f6b4ac97a27eb81264a05d6e01d41309e238c452d4e4553b - 21.46% (495 MB)

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

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

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


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

Apply image 10.0.20348.1787

2024-01-04 03:43:51 UTC

Install update 10.0.20348.2227

2024-01-11 00:02:31 UTC

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

2024-01-11 00:02:32 UTC

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

2024-01-11 00:02:32 UTC

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

2024-01-11 00:02:33 UTC

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

2024-01-11 00:03:44 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-01-11 00:03:46 UTC

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

2024-01-11 00:03:48 UTC

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

2024-01-11 00:03:49 UTC

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

Details
Created

2024-01-11 00:07:44 UTC

Size

2.41 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

08cfe4776b8d0901654912a0bb5cd0bd5b50e6f6eeaf8890e7e76172c22c5111

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.13-rc0


Layers

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

[#001] sha256:9da94e8356538054b9b2e3023814100ffe07d42ee8f8dec0ad82a450371abd52 - 16.19% (400 MB)

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

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

[#004] sha256:59d53b494fce1e8442d7731db78b4a41071873c47ae95590724ae8ce5e27c374 - 0.0% (1.27 KB)

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

[#006] sha256:e9d27138e8e3da24be897fe0e6e6a3cc096aa919ae1cdb72810432c4a7b0f355 - 20.06% (495 MB)

[#007] sha256:96a3410dc6a19320cb68ce5b776efdd6d88b44add869c2c5521ae02f77f7fd0e - 0.0% (1.27 KB)

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

[#009] sha256:89171b06beab66f8dc6db0c01668074a4dfb49534a6a9c84844c9e7f396f8294 - 0.0% (1.25 KB)


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

Apply image 10.0.17763.4499

2024-01-02 22:50:56 UTC

Install update 10.0.17763.5329

2024-01-11 00:05:26 UTC

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

2024-01-11 00:05:27 UTC

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

2024-01-11 00:05:28 UTC

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

2024-01-11 00:05:28 UTC

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

2024-01-11 00:07:40 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-01-11 00:07:42 UTC

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

2024-01-11 00:07:43 UTC

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

2024-01-11 00:07:44 UTC

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

Details
Created

2024-01-09 05:01:33 UTC

Size

229 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

6.0.13~rc0

PATH

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


Layers

[#000] sha256:ce9ebea987c26664d067f7e14c93231c6d303e4acb322f15ddbf05b414646d64 - 11.37% (26.1 MB)

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

[#002] sha256:9ea2c80cbb3b35f304679783e06b6220e9620dba964cb97800f786ef04696945 - 2.07% (4.76 MB)

[#003] sha256:6467c6c2b6cab5d20978a2a487a45c7addfcb07b71b83ef5eb096bee090becfb - 0.43% (1010 KB)

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

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

[#006] sha256:37f5645d71ac616c94e6796fabb035b0420dbefcd39af0d664fb09ee952d067c - 0.0% (270 Bytes)

[#007] sha256:36f085b2c4381a9680925b30843f184fdd65aaa47dd32a3fab494bafdd0b4cf8 - 0.0% (268 Bytes)

[#008] sha256:085a950a90d07351ccc80a53d86feefb6f57409ee294b509b8ee9b95cbef882c - 86.12% (198 MB)

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


History
2024-01-09 05:01:33 UTC

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

2024-01-09 05:01:33 UTC

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

2024-01-09 05:01:33 UTC

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

2024-01-09 05:01:33 UTC

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

2024-01-09 05:01:33 UTC

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

2024-01-09 05:01:33 UTC

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

2024-01-09 05:01:33 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-01-09 05:01:33 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

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-01-09 05:01:33 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

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

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

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' '39BD841E4BE5FB195A65400E6A26B1AE64C3C388'; 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

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

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

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2024-01-09 05:01:33 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

2024-01-09 05:01:33 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}/6.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-6.0.list" # buildkit

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=6.0.13~rc0

2024-01-09 05:01:33 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-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

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

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-01-09 05:01:33 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-01-09 05:01:33 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