Namespace
library
Image / Tag
mongo:4.4.26
Content Digest
sha256:6968605d75f9ed587adf94ffac5c18963a3dcdd13892f91412bccfa80059265a
Details
Created

2023-12-19 19:08:50 UTC

Size

168 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

4.4

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

4.4.26

PATH

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


Layers

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

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

[#002] sha256:edce3a7bf66d752f254f22df8f14fe680a8f467555d1c498198bf128cba882db - 4.75% (7.99 MB)

[#003] sha256:1d8558779d828f975c71b6971db049eadbf4d350e9f2f2d00268ad06329331e3 - 0.62% (1.05 MB)

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

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

[#006] sha256:eb8fa8a6ef2cfadfabcdb85e1c990c3a7ce6318fb938d18fa50f4615e982e2f6 - 0.0% (259 Bytes)

[#007] sha256:97dc23456fb5a61c3a550d8406c8eb3c0adff1ca97e394135419c5f8b7b588cd - 79.01% (133 MB)

[#008] sha256:e56b989b2c6fb94a84b342a745771ed4e6dfd2959f94f7e116352b9768871a82 - 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 -- '20691EEC35216C63CAF66CE1656408E390CFB1F5'; 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=4.4

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=4.4.26

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

2023-12-15 22:55:24 UTC

Size

1.99 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

9ba4bc737c4ed037b9ae59d13917a3dcfe4a63035213614bf1fccda0c3f6fbdf

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.4.26


Layers

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

[#001] sha256:7839fc47f6e056f9e09a214230f8b7115e69419dbc74acbbb1ad6bc0caa28862 - 23.45% (477 MB)

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

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

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

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

[#006] sha256:92d0672d1f0cc453c57ea88ca45f8da476fd1ce7023a4c292865eff7ce7029e4 - 11.5% (234 MB)

[#007] sha256:1d8a5cfc5e9f158f230fcb94b14039543a7c5c1648c71c34178aae11a07af74f - 0.0% (1.28 KB)

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

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


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

Apply image 10.0.20348.1787

2023-12-02 12:42:56 UTC

Install update 10.0.20348.2159

2023-12-15 22:54:31 UTC

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

2023-12-15 22:54:32 UTC

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

2023-12-15 22:54:32 UTC

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

2023-12-15 22:54:33 UTC

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

2023-12-15 22:55:17 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.';

2023-12-15 22:55:22 UTC

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

2023-12-15 22:55:23 UTC

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

2023-12-15 22:55:24 UTC

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

Details
Created

2023-12-15 22:18:40 UTC

Size

2.15 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

9ba4bc737c4ed037b9ae59d13917a3dcfe4a63035213614bf1fccda0c3f6fbdf

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.4.26


Layers

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

[#001] sha256:e35ae5ad761bfd7e5fb48c234de8722eaa28e17e2c956816fecb417ab6259c29 - 17.75% (390 MB)

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

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

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

[#005] sha256:90396408cff5e442fbfb41fe9403ec04ac1fc591f718f668df4bc5e7169fa699 - 0.0% (1.27 KB)

[#006] sha256:8ba1bf219bdbed3aa9245923b95f8fd417af3c0eb8c02fcc78629c754cd052b2 - 10.65% (234 MB)

[#007] sha256:29b2c7039a8d096312dbf4d064df3f6bd152ab3957ff307621b99d15e8a8addf - 0.0% (1.27 KB)

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

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


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

Apply image 10.0.17763.4499

2023-12-04 11:24:49 UTC

Install update 10.0.17763.5206

2023-12-15 22:16:43 UTC

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

2023-12-15 22:16:45 UTC

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

2023-12-15 22:16:46 UTC

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

2023-12-15 22:16:46 UTC

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

2023-12-15 22:18:35 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.';

2023-12-15 22:18:36 UTC

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

2023-12-15 22:18:39 UTC

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

2023-12-15 22:18:40 UTC

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

Details
Created

2023-12-19 19:08:50 UTC

Size

164 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

4.4

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

4.4.26

PATH

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


Layers

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

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

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

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

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

[#005] sha256:ac8819c2b7ec12b47e18ecfce95bfc0805a0eacf86c83cec477eb62b88084fa3 - 0.0% (1.37 KB)

[#006] sha256:73d757d8e05c23f189f9807127980ded661aaacb60460df561c074202ca66dd2 - 0.0% (261 Bytes)

[#007] sha256:e2f74f073dad3b51e92781747398cb8e4603ca34a256ff16fa686827f2a2ed26 - 79.47% (130 MB)

[#008] sha256:85a6cffdeaf7d8331ebe907ffe38e9d850433f33e257df1bc10150d2eb209c8c - 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 -- '20691EEC35216C63CAF66CE1656408E390CFB1F5'; 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=4.4

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=4.4.26

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