Namespace
library
Image / Tag
mongo:6.0.14
Content Digest
sha256:35a7e5f80601629494216601b06c759b9f89db8876a47f33a14e4c40b5960efa
Details
Created

2024-02-29 23:30:03 UTC

Size

238 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

6.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

6.0.14

PATH

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


Layers

[#000] sha256:3c645031de2917ade93ec54b118d5d3e45de72ef580b8f419a8cdc41e01d042c - 11.82% (28.2 MB)

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

[#002] sha256:028ec7404ae1c45f73f1c0f1dede5e86402c4476ceef7f5c8b26253d41c88883 - 0.6% (1.43 MB)

[#003] sha256:6de6a3840a1414fbe92dd1649ee9f96b4024278a7c1e6d3a49b626a881c2cdfc - 0.44% (1.04 MB)

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

[#005] sha256:058091b083e50de7de7f38d71af49b492fba00ffe74f99448e5a35bf3df4e65e - 0.0% (263 Bytes)

[#006] sha256:c35aa6c04412442663a2780572474e0e6c4f27b8b2390c1febed7b306b3d7f84 - 87.14% (208 MB)

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


History
2024-02-29 23:30:03 UTC

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

2024-02-29 23:30:03 UTC

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

2024-02-29 23:30:03 UTC

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

2024-02-29 23:30:03 UTC

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

2024-02-29 23:30:03 UTC

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

2024-02-29 23:30:03 UTC

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

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

ENV GOSU_VERSION=1.17

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-02-29 23:30:03 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-6.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '39BD841E4BE5FB195A65400E6A26B1AE64C3C388' > /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:30:03 UTC (buildkit.dockerfile.v0)

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

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

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

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=6.0

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

ENV MONGO_VERSION=6.0.14

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

VOLUME [/data/db /data/configdb]

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

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

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2024-04-09 23:59:17 UTC

Size

2.35 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

871a352e6eb31f2d4d74816b6511cc350697c2004580f79f652f1a9237ea15c8

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.14


Layers

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

[#001] sha256:197484daab96ebaf9683bc9230fb0043a8780d2afef249baa386f372a548b76a - 24.22% (582 MB)

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

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

[#004] sha256:2c9b4741448e2cb75d639f41c10976ebf5959c069b0b7881f71ba0294f60b024 - 0.0% (1.36 KB)

[#005] sha256:cf71fb46a85fca01a183287f30a576685428913927fa7d8abe5f6782d4b249c9 - 0.0% (1.29 KB)

[#006] sha256:844a69428c2e8ccb582424cd6e37246b0504b990b25757dd9d24f35883f103fb - 20.7% (498 MB)

[#007] sha256:37b1ad733c78ef65777f20ae0d2b52c128d86e9f2d9245cdd6970b0dccbb2427 - 0.0% (1.29 KB)

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

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


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

Apply image 10.0.20348.1787

2024-04-05 09:25:01 UTC

Install update 10.0.20348.2402

2024-04-09 23:57:48 UTC

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

2024-04-09 23:57:48 UTC

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

2024-04-09 23:57:49 UTC

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

2024-04-09 23:57:50 UTC

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

2024-04-09 23:59:12 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-04-09 23:59:15 UTC

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

2024-04-09 23:59:16 UTC

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

2024-04-09 23:59:17 UTC

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

Details
Created

2024-04-10 00:00:44 UTC

Size

2.5 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

871a352e6eb31f2d4d74816b6511cc350697c2004580f79f652f1a9237ea15c8

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.14


Layers

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

[#001] sha256:e920b78002850882cc637991bf16e3cd3fdd45576cf3e930819c98f6b43518d3 - 19.13% (490 MB)

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

[#003] sha256:69a79c7974cd09c7760d27569f6413f732e8aa1de3145312357a45c6fe638dd9 - 0.0% (1.3 KB)

[#004] sha256:4cbdf0efb347b5d7bf82921cdc520845f53d135ee23b4a533a396c5780af1219 - 0.0% (1.34 KB)

[#005] sha256:71ca51d9021538ce42fc38763cc5f188ffbcdf0336702c957e6c43f7f8df3cc9 - 0.0% (1.32 KB)

[#006] sha256:4fafa7cd017a933cf4074d1e28f20e8c77c8056e638e14b8bb68d34285181b61 - 19.43% (498 MB)

[#007] sha256:d4f2b606151fc88038dd7018030689d64d1c3e7746c9e18d00f2fd9509d5ad8e - 0.0% (1.35 KB)

[#008] sha256:3670c14dfb22adc6a2783042b1715aeda0e836809eba2eabcc523e55bd934c0b - 0.0% (1.29 KB)

[#009] sha256:ae8953b7b488f889196f13fd20c798105e25dfb46f9910038215fe072aa4ea19 - 0.0% (1.3 KB)


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

Apply image 10.0.17763.4499

2024-04-06 02:39:33 UTC

Install update 10.0.17763.5696

2024-04-09 23:58:44 UTC

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

2024-04-09 23:58:45 UTC

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

2024-04-09 23:58:46 UTC

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

2024-04-09 23:58:46 UTC

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

2024-04-10 00:00:39 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-04-10 00:00:41 UTC

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

2024-04-10 00:00:43 UTC

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

2024-04-10 00:00:44 UTC

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

Details
Created

2024-02-29 23:30:03 UTC

Size

231 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

6.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

6.0.14

PATH

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


Layers

[#000] sha256:70104cd59e2a443b9d9a13a6bce3bbf1ae78261c4198a40bf69d6e0515abe06a - 11.27% (26.1 MB)

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

[#002] sha256:645b7b6e30ae2933272d4495229ca7bb56b79fbc1005aa636c8957eb79a38e43 - 0.6% (1.4 MB)

[#003] sha256:0f48c0cb459b2794ae1aa8ef68dcea52e699cf446f13d3315833924bd0b2339b - 0.42% (1000 KB)

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

[#005] sha256:39ee9006ab51b3c479be5eabea00663a776a6b3728dfbaa4d593c6e8167dd300 - 0.0% (262 Bytes)

[#006] sha256:a0d90cf2f43c0ae2a21e416ccfdc6ff136fabc3ed1e0aa88473c32d3a0493987 - 87.7% (203 MB)

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


History
2024-02-29 23:30:03 UTC

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

2024-02-29 23:30:03 UTC

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

2024-02-29 23:30:03 UTC

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

2024-02-29 23:30:03 UTC

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

2024-02-29 23:30:03 UTC

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

2024-02-29 23:30:03 UTC

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

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

ENV GOSU_VERSION=1.17

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-02-29 23:30:03 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-6.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '39BD841E4BE5FB195A65400E6A26B1AE64C3C388' > /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:30:03 UTC (buildkit.dockerfile.v0)

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

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

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

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=6.0

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

ENV MONGO_VERSION=6.0.14

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

VOLUME [/data/db /data/configdb]

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

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

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-02-29 23:30:03 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-02-29 23:30:03 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