Namespace
library
Image / Tag
mongo:7.0.6
Content Digest
sha256:019bf5423a08363f253d81a3f16cc6527e7342a7f5420a5ad74663cc2c62d0e7
Details
Created

2024-02-29 23:33:16 UTC

Size

247 MB

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

Environment
GOSU_VERSION

1.17

HOME

/data/db

JSYAML_VERSION

3.13.1

MONGO_MAJOR

7.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

7.0.6

PATH

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


Layers

[#000] sha256:bccd10f490ab0f3fba61b193d1b80af91b17ca9bdca9768a16ed05ce16552fcb - 11.42% (28.2 MB)

[#001] sha256:93f07c832c0f4445791104ec094d14aee6178875b308ba2695ff7bff1c4f2158 - 0.0% (1.73 KB)

[#002] sha256:dab2da22865c99f9d744b57e79dc62e733f07acd1f37ec72c6e0b9d4fe358699 - 0.58% (1.43 MB)

[#003] sha256:1f7ceac81d5bf87c9d8f3630efba2c60a13fd35ac9fb73d1cce0e2d192baaae5 - 0.42% (1.04 MB)

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

[#005] sha256:bf53d03cb40edb33e759e0f5bf6bd2c621e9e25be56949d23c07866cea7cee80 - 0.0% (264 Bytes)

[#006] sha256:cc32baa6c25a9ff05d6bbb2640981f475c7493461a2b44fab8c4a9020b25722b - 87.57% (216 MB)

[#007] sha256:15cbd27917486c36829d0b826a8dbf92c0af85c790b6c589422e2c51b659833e - 0.0% (4.88 KB)


History
2024-02-27 18:52:57 UTC

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

2024-02-27 18:52:57 UTC

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

2024-02-27 18:52:57 UTC

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

2024-02-27 18:52:57 UTC

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

2024-02-27 18:52:58 UTC

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

2024-02-27 18:52:59 UTC

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

2024-02-29 23:33:16 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-02-29 23:33:16 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-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-02-29 23:33:16 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-7.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor 'E58830201F7DD82CD808AA84160D26BB1785BA38' > /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-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

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

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

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

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=7.0

2024-02-29 23:33:16 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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=7.0.6

2024-02-29 23:33:16 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-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

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

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2024-03-13 00:07:27 UTC

Size

2.4 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

29fb23ca36a9dd6fee2f6491a92392c404d544ffe38bfaf3d2467db0bd774fde

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.6


Layers

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

[#001] sha256:a61557bf66429be9509f579104808d2853f8f7aefbd49ef26f5f2a90266c46f5 - 22.11% (543 MB)

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

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

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

[#005] sha256:7a2d620f976729f09d7bf0d234ccdd6b8b1b5cf773b75244c71db47767cddded - 0.0% (1.28 KB)

[#006] sha256:0ebe89dcfd388595ee07f3d1f83cebe4c97c69f0c1f26fdc35386dd0cbce7458 - 23.91% (587 MB)

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

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

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


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

Apply image 10.0.20348.1787

2024-03-05 19:55:40 UTC

Install update 10.0.20348.2340

2024-03-13 00:06:02 UTC

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

2024-03-13 00:06:02 UTC

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

2024-03-13 00:06:03 UTC

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

2024-03-13 00:06:04 UTC

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

2024-03-13 00:07:22 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-03-13 00:07:24 UTC

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

2024-03-13 00:07:26 UTC

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

2024-03-13 00:07:27 UTC

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

Details
Created

2024-03-13 00:13:06 UTC

Size

2.55 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

29fb23ca36a9dd6fee2f6491a92392c404d544ffe38bfaf3d2467db0bd774fde

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.6


Layers

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

[#001] sha256:a22a88a4a0d197cb745939f382a7898094af0a089fce3173f283651a01da996b - 17.32% (452 MB)

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

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

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

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

[#006] sha256:1461b577490448d51894b30774a4d49b38d784814db41056fa09dec6afe995be - 22.45% (587 MB)

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

[#008] sha256:9ffac732649f4193ffc501bb8be4b13c492eb793049e174acf5061652d8b8965 - 0.0% (1.27 KB)

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


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

Apply image 10.0.17763.4499

2024-03-04 01:18:21 UTC

Install update 10.0.17763.5576

2024-03-13 00:11:09 UTC

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

2024-03-13 00:11:10 UTC

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

2024-03-13 00:11:11 UTC

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

2024-03-13 00:11:12 UTC

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

2024-03-13 00:13:03 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-03-13 00:13:04 UTC

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

2024-03-13 00:13:05 UTC

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

2024-03-13 00:13:06 UTC

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

Details
Created

2024-02-29 23:33:16 UTC

Size

239 MB

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

Environment
GOSU_VERSION

1.17

HOME

/data/db

JSYAML_VERSION

3.13.1

MONGO_MAJOR

7.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

7.0.6

PATH

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


Layers

[#000] sha256:f4bb4e8dca02be491b4f72d2ef2127a64ce49c48d0d9c0a0fcaffa625067679d - 10.93% (26.1 MB)

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

[#002] sha256:e5eac8f7306550dc8afd92ed23b6cf11dd6ce96e577a15565b3b5af29aa2503f - 0.59% (1.4 MB)

[#003] sha256:7d36aaec7660425fb0685d9180636a0948ec5c4eb1ff21b7bf6c02c611223429 - 0.41% (1000 KB)

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

[#005] sha256:a8b4c126fe09f5a308711b91a9c6708dd12a52ba68910097eda1633600b4ff6b - 0.0% (264 Bytes)

[#006] sha256:8079e24d3936e965c597eee2fb11fc4d74a10ad1fd55fc2e986ad26825cdbd7d - 88.08% (210 MB)

[#007] sha256:eb93384cdee1ae0cb886ea1c67140fcc4beab9c5a320c112ad79a62f6eada01e - 0.0% (4.88 KB)


History
2024-02-27 18:53:22 UTC

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

2024-02-27 18:53:22 UTC

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

2024-02-27 18:53:22 UTC

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

2024-02-27 18:53:22 UTC

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

2024-02-27 18:53:25 UTC

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

2024-02-27 18:53:25 UTC

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

2024-02-29 23:33:16 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-02-29 23:33:16 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-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-02-29 23:33:16 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-7.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor 'E58830201F7DD82CD808AA84160D26BB1785BA38' > /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-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

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

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

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

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=7.0

2024-02-29 23:33:16 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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=7.0.6

2024-02-29 23:33:16 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-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

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

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-02-29 23:33:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-02-29 23:33:16 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