Namespace
library
Image / Tag
mongo:5.0.26
Content Digest
sha256:2aef12958f7f305321016dd0bd7df6d236571f9cbdc08db85f8f2b009e548abf
Details
Created

2024-03-26 22:01:21 UTC

Size

258 MB

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

Environment
GOSU_VERSION

1.17

HOME

/data/db

JSYAML_VERSION

3.13.1

MONGO_MAJOR

5.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

5.0.26

PATH

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


Layers

[#000] sha256:9ea8908f47652b59b8055316d9c0e16b365e2b5cee15d3efcb79e2957e3e7cad - 10.18% (26.2 MB)

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

[#002] sha256:0932d6ea02f1ed3ca3a90639c5a77d2f9797a8d5c509de3c6f32d0d112e5b3f8 - 1.14% (2.93 MB)

[#003] sha256:82423dbc00ad7310a572acb59e8789ee1897a23127bac32cc29e0d38ce921e58 - 0.4% (1.04 MB)

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

[#005] sha256:1466142e9a50caf6e5b4d61283924260a0713ea25f2e3eb13ba32ea78ba8cb2b - 0.0% (259 Bytes)

[#006] sha256:6e918bfb60385b9b4e433f55a0ea077381193368e5ef8f34918c3335c21a3a5d - 88.27% (227 MB)

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


History
2024-03-26 22:01:21 UTC

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

2024-03-26 22:01:21 UTC

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

2024-03-26 22:01:21 UTC

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

2024-03-26 22:01:21 UTC

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

2024-03-26 22:01:21 UTC

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

2024-03-26 22:01:21 UTC

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

2024-03-26 22:01:21 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-03-26 22:01:21 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-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-03-26 22:01:21 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-5.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11' > /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-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

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

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

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

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=5.0

2024-03-26 22:01:21 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 focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=5.0.26

2024-03-26 22:01:21 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 && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

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

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2024-05-15 22:00:49 UTC

Size

2.26 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

dbe45ab5b3b04170fab6861629932354408d4033f773c54248dcd0680ea39ef8

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.26


Layers

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

[#001] sha256:ba03114511317f14392dd2ac806678d1f79c73a8a7e0bc64013540e54c22020f - 29.86% (691 MB)

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

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

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

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

[#006] sha256:a4bbc8175bf4b89c0e90a6c392d48b1d57bf645c065cc4bb9e7ee4a912874114 - 12.87% (298 MB)

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

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

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


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

Apply image 10.0.20348.1787

2024-05-10 20:40:01 UTC

Install update 10.0.20348.2461

2024-05-15 21:59:59 UTC

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

2024-05-15 22:00:01 UTC

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

2024-05-15 22:00:01 UTC

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

2024-05-15 22:00:02 UTC

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

2024-05-15 22:00:43 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=Client,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 ' mongo --version'; mongo --version; 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-05-15 22:00:46 UTC

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

2024-05-15 22:00:48 UTC

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

2024-05-15 22:00:49 UTC

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

Details
Created

2024-05-15 21:54:01 UTC

Size

2.32 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

dbe45ab5b3b04170fab6861629932354408d4033f773c54248dcd0680ea39ef8

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.26


Layers

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

[#001] sha256:e00cc2568ad51f25eabe6bb19ba6248a040d7622594b0d09ee77dec571d7280a - 21.23% (505 MB)

[#002] sha256:360d6afaa6337bbff94721bcbda3861bcd407c30bcded4a1fab62e5c187be89f - 0.0% (1.23 KB)

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

[#004] sha256:b6f2adf317dcff4050bab83f1da70836401420fba5b03473777a54358ca3db57 - 0.0% (1.28 KB)

[#005] sha256:92b9b8c650ab392f7a18f1c7ca5ce0d818f09779a727b98a12391d74d3410cb2 - 0.0% (1.24 KB)

[#006] sha256:e30770d10ab4eda621226ff0211e85f88d7cd6aa1e3076c1dd7b05e12128a8da - 12.53% (298 MB)

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

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

[#009] sha256:10f6219aece45b185d4043206dfeee24ee0e4ea5e7679c904f93fba428369578 - 0.0% (1.27 KB)


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

Apply image 10.0.17763.4499

2024-05-10 20:46:44 UTC

Install update 10.0.17763.5820

2024-05-15 21:51:18 UTC

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

2024-05-15 21:51:19 UTC

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

2024-05-15 21:51:20 UTC

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

2024-05-15 21:51:20 UTC

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

2024-05-15 21:53:58 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=Client,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 ' mongo --version'; mongo --version; 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-05-15 21:53:59 UTC

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

2024-05-15 21:54:00 UTC

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

2024-05-15 21:54:01 UTC

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

Details
Created

2024-03-26 22:01:21 UTC

Size

250 MB

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

Environment
GOSU_VERSION

1.17

HOME

/data/db

JSYAML_VERSION

3.13.1

MONGO_MAJOR

5.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

5.0.26

PATH

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


Layers

[#000] sha256:f02209be4ee528c246399de81af4552e52adb005a8a499815607b6b0d42746bf - 9.9% (24.8 MB)

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

[#002] sha256:b6f5ee07feb16ff247dd7feeaf66f29e96b390d7c169aca89ccd4136134770b2 - 1.12% (2.79 MB)

[#003] sha256:3de879c2bf4da5ec5aef915bbeb3d1dba7eec8995048bab32692b338b39cf5d8 - 0.39% (1000 KB)

[#004] sha256:bb5781815affea17824ad94bd1df13bba5371bc1e7e6330dde8a09223cfe7622 - 0.0% (114 Bytes)

[#005] sha256:c315c03c35ff43f383a545113241c9be0fa20f2a08e191e88597d0a513971295 - 0.0% (257 Bytes)

[#006] sha256:11ec07ac8695ca59209d8db217b871639e109cc9a227bf3fda417222f3b79ddd - 88.6% (222 MB)

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


History
2024-03-26 22:01:21 UTC

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

2024-03-26 22:01:21 UTC

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

2024-03-26 22:01:21 UTC

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

2024-03-26 22:01:21 UTC

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

2024-03-26 22:01:21 UTC

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

2024-03-26 22:01:21 UTC

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

2024-03-26 22:01:21 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-03-26 22:01:21 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-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-03-26 22:01:21 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-5.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11' > /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-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

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

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

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

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=5.0

2024-03-26 22:01:21 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 focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=5.0.26

2024-03-26 22:01:21 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 && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

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

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-03-26 22:01:21 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-03-26 22:01:21 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