Namespace
library
Image / Tag
mongo:4.4.27
Content Digest
sha256:5e97d22fb95e976d54f1913997dea61a14da6c865d2d5b8c4ad942404cd5dd68
Details
Created

2024-01-03 23:01:12 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.27

PATH

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


Layers

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

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

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

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

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

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

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

[#007] sha256:37a6972bd4170aaccd9366c1c0f5cac86835e42710acb330dfeea90118d5f7f2 - 79.01% (133 MB)

[#008] sha256:8442384d98f45f49849cb2c3c6de0b26ddb993fb15a4a79adaefe5aa2a2a4ebe - 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"]

2024-01-03 23:01:12 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-01-03 23:01:12 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

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-01-03 23:01:12 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

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

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

2024-01-03 23:01:12 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

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

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

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=4.4

2024-01-03 23:01:12 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

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=4.4.27

2024-01-03 23:01:12 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-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

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

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2024-01-11 00:03:51 UTC

Size

2 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

ab6b645db3ec289fb199a5ee2e1d99704add3fb9e801ebe4d87158eb2716aeb4

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.4.27


Layers

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

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

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

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

[#004] sha256:2d700e3c11e39d71ac056c0754c612b4dd6557d16b534e7058fca827a7853a0b - 0.0% (1.29 KB)

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

[#006] sha256:41080ac0a22b915fe44e5bacfcd8e273b2051605ea141ed1a5773b2cc3f4fbd2 - 11.47% (235 MB)

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

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

[#009] sha256:1b7c468f4378a6a7ccd71b4446ae05f31a19081bdaf4d258a3b9e7a90bbdbb2e - 0.0% (1.26 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:52 UTC

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

2024-01-11 00:02:52 UTC

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

2024-01-11 00:02:53 UTC

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

2024-01-11 00:02:54 UTC

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

2024-01-11 00:03:46 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:48 UTC

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

2024-01-11 00:03:50 UTC

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

2024-01-11 00:03:51 UTC

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

Details
Created

2024-01-11 00:05:17 UTC

Size

2.16 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

ab6b645db3ec289fb199a5ee2e1d99704add3fb9e801ebe4d87158eb2716aeb4

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.4.27


Layers

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

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

[#002] sha256:b59a2da7620ad78d907a8c30a66a670531074eecfa8554fe290b9164219fa1e0 - 0.0% (1.28 KB)

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

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

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

[#006] sha256:58c363eccfd9e6fde0ebc5543ccb00f22f60116c0ae15b1b035f6b0d8c34d95d - 10.63% (235 MB)

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

[#008] sha256:6705ecabbd20dfa6e2ae97a440ff0eba118ff48a9a75f5eb7e04ceb5e89602c2 - 0.0% (1.27 KB)

[#009] sha256:8adfde7cdc6ea14913521287df2ce3ef31bd18065a6325faf1f2cc06042c7b00 - 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:03:41 UTC

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

2024-01-11 00:03:43 UTC

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

2024-01-11 00:03:44 UTC

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

2024-01-11 00:03:45 UTC

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

2024-01-11 00:05:13 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:05:14 UTC

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

2024-01-11 00:05:15 UTC

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

2024-01-11 00:05:17 UTC

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

Details
Created

2024-01-03 23:01:12 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.27

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:7c57e3528330d842fe92926545fea4b2c2f7f8267c1db7c33463ecaa3b804a46 - 79.47% (130 MB)

[#008] sha256:8649102f4bb1ba3a521e404ba7024a3d0d146140198abc05f470850e65308972 - 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"]

2024-01-03 23:01:12 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-01-03 23:01:12 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

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-01-03 23:01:12 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

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

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

2024-01-03 23:01:12 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

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

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

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=4.4

2024-01-03 23:01:12 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

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=4.4.27

2024-01-03 23:01:12 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-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

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

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-01-03 23:01:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-01-03 23:01:12 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