Namespace
library
Image / Tag
mongo:5.0.23
Content Digest
sha256:2023e546acb1c1342bfc9a33cdce5d3b767f659f4ffdcbcfc1f49ac5a873e78e
Details
Created

2023-12-19 19:08:50 UTC

Size

253 MB

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

Environment
GOSU_VERSION

1.16

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.23

PATH

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


Layers

[#000] sha256:527f5363b98e562da03d2e0bbf86fd7c34f487bffd9b27a3cf0a9afea2f0ee1f - 10.37% (26.2 MB)

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

[#002] sha256:1b6ea7c5c9073c1c610fedec232a1c601dc149fbeeed54861760aa264a0d8994 - 3.16% (7.99 MB)

[#003] sha256:a586bd100c5221a03a5e0c5d0d953487e26f8f52aa58be9aee523854836b15e4 - 0.41% (1.05 MB)

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

[#005] sha256:a88415b9cd640908744cf359719e45d38789cd89b6a9d6a24a83b2774d093341 - 0.0% (1.36 KB)

[#006] sha256:f27efa5f0733e59f5952e5635be070184c32cbf1440b86d8d099fa9fda754748 - 0.0% (256 Bytes)

[#007] sha256:4ca907430f2a8efe429dfae1bdfe621f63b886feab6aed4b37fef5dbdbcb06e2 - 86.05% (218 MB)

[#008] sha256:bb34c8a8ecc0ec4cbf1a913ce8accef67454d5c7dcc0ac46df8ecec69d1f91da - 0.0% (4.88 KB)


History
2023-12-13 10:27:43 UTC

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

2023-12-13 10:27:44 UTC

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

2023-12-13 10:27:44 UTC

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

2023-12-13 10:27:44 UTC

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

2023-12-13 10:27:45 UTC

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

2023-12-13 10:27:45 UTC

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

2023-12-19 19:08:50 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-19 19:08:50 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-19 19:08:50 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2023-12-19 19:08:50 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-19 19:08:50 UTC (buildkit.dockerfile.v0)

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

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11'; 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-19 19:08:50 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

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

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=5.0

2023-12-19 19:08:50 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 focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=5.0.23

2023-12-19 19:08:50 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

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

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

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2024-01-11 00:03:18 UTC

Size

2.06 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

458663972f8c528dcd249e6ef21ce77aac3301a14214089b2099283b2135da37

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.23


Layers

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

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

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

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

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

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

[#006] sha256:8b031204ca2135a5481576e27ccb4fb5406a41428f5514acbabeafddf3d36240 - 14.18% (299 MB)

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

[#008] sha256:6ca354ad4eebf39e29db1244b4aa46e3da4d85db9b2708d4c0d45485db6f54b3 - 0.0% (1.29 KB)

[#009] sha256:a9cba8cc8bf2b0b824360cb91acf36705752e23cfd568dea73a27ce52f22ea9a - 0.0% (1.27 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:17 UTC

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

2024-01-11 00:02:18 UTC

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

2024-01-11 00:02:19 UTC

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

2024-01-11 00:02:19 UTC

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

2024-01-11 00:03:16 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-01-11 00:03:17 UTC

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

2024-01-11 00:03:18 UTC

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

2024-01-11 00:03:18 UTC

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

Details
Created

2024-01-11 00:13:56 UTC

Size

2.22 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

458663972f8c528dcd249e6ef21ce77aac3301a14214089b2099283b2135da37

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.23


Layers

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

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

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

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

[#004] sha256:065f05564bac9f6bc9732128c200d2c10955fac5bd4d942636d270bd2670c8f6 - 0.0% (1.33 KB)

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

[#006] sha256:33ba8dfc8a70c6c9cee7407aab356544d44818a561e0c959bb50d8cc1b66fda2 - 13.17% (299 MB)

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

[#008] sha256:0f4678eed70e33bd034ab3079ca56422b6bd0ed1973493abfe5f31a5b4ea2bca - 0.0% (1.27 KB)

[#009] sha256:a036fe3bc5d25bb47ce9ec43a2e7704af266d1cdb2abccbef415dcaec8ca8258 - 0.0% (1.27 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:12:04 UTC

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

2024-01-11 00:12:05 UTC

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

2024-01-11 00:12:05 UTC

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

2024-01-11 00:12:06 UTC

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

2024-01-11 00:13:50 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-01-11 00:13:52 UTC

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

2024-01-11 00:13:55 UTC

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

2024-01-11 00:13:56 UTC

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

Details
Created

2023-12-19 19:08:50 UTC

Size

246 MB

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

Environment
GOSU_VERSION

1.16

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.23

PATH

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


Layers

[#000] sha256:d519a3a2a796a075e4e40e5c4a1513aa8db8f8fdf009662bf6858f0149143b28 - 10.08% (24.8 MB)

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

[#002] sha256:a6ded41913893fb2c19b7f6cb4b21f0e12639a543c69be1d62dbe3afdf3fbc42 - 3.18% (7.82 MB)

[#003] sha256:c0ab25682bfe74e5ec2f8feaf928bbba54d7139f2c30e2ee063f5b347f288996 - 0.4% (1010 KB)

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

[#005] sha256:cc7d67ca0832893ab9fbc7dd6f775ad4bc9f05d962d08fc72973c4ae3a1e016e - 0.0% (1.36 KB)

[#006] sha256:02064cf3c6fe875ad2084c98199038705142a2cf41985be7d5c586b2266b9cb9 - 0.0% (255 Bytes)

[#007] sha256:5cc920ef7a447e0a1730c44bd9bca9a83260291722e33aa01aab7952d61f7d8f - 86.33% (212 MB)

[#008] sha256:ff07ac66c2fa6aa1599cc32d5d2720bb0c7fbafd9dca8ea5fbac67f292a2cc2f - 0.0% (4.88 KB)


History
2023-12-13 10:29:33 UTC

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

2023-12-13 10:29:33 UTC

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

2023-12-13 10:29:34 UTC

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

2023-12-13 10:29:34 UTC

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

2023-12-13 10:29:41 UTC

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

2023-12-13 10:29:42 UTC

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

2023-12-19 19:08:50 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-19 19:08:50 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-19 19:08:50 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2023-12-19 19:08:50 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-19 19:08:50 UTC (buildkit.dockerfile.v0)

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

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11'; 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-19 19:08:50 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

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

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=5.0

2023-12-19 19:08:50 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 focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=5.0.23

2023-12-19 19:08:50 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

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

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

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2023-12-19 19:08:50 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