Namespace
library
Image / Tag
mongo:4.4.27-rc0
Content Digest
sha256:1ce37ce11ceb814376b3b40d3fe55bd67a1c37dc778671b8b8989d0ceb046310
Details
Created

2023-12-19 19:08:50 UTC

Size

163 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

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

4.4.27~rc0

PATH

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


Layers

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

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

[#002] sha256:58c614708352fa1b04f2d45460a5debedbbf755825a91b130ea57a9b4ed656c6 - 4.9% (7.99 MB)

[#003] sha256:84c357a4d614c93f152ca315e4fdc04198252dda3baaa63842e6652db09adb98 - 0.64% (1.05 MB)

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

[#005] sha256:9ce396a20d2c700c1a3b25212f561289c603ed5b53d7ef608c5074515538bcff - 0.0% (2.47 KB)

[#006] sha256:15f924f4ae3f28b7d22030837351e4eaa08a18744005699702343d3dd56f6d0a - 0.0% (260 Bytes)

[#007] sha256:916c946cc121c5ef6994d68705b2d174f057143644facc5e4e3521c958367988 - 78.33% (128 MB)

[#008] sha256:ac8cd30af559e4ed18baa94b77226f158d5479fa52024abdb5c2bb83db7b2e40 - 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' '28DE23AF08040FB24C33F36381B0EBBBADCEA95C'; 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=testing

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.27~rc0

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:27 UTC

Size

1.99 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

0364b36a2127ff8b99a989c621e6e0b26c00947015685f899f0485b6132cfacd

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.4.27-rc0


Layers

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

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

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

[#003] sha256:6bf38a97d1bcc5631a0a8c3ebe80b549c87b4f92c28c8c93cf7e1ab225755fe3 - 0.0% (1.26 KB)

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

[#005] sha256:03254039c2e9b7ad263f890615449e517f4f9ec473822dc4d2d9feca5a694052 - 0.0% (1.27 KB)

[#006] sha256:0dcb51e2c52d10fe313535247cfe98ded6bab7887fcfd6c22a539bc10ee7dd31 - 11.51% (234 MB)

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

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

[#009] sha256:a5d7c63d48977def90cefd2ffa8102a9cedd34931a90e887d67bf3b5c3274a8d - 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.27-rc0

2023-12-15 22:54:33 UTC

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

2023-12-15 22:54:34 UTC

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

2023-12-15 22:55:23 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:25 UTC

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

2023-12-15 22:55:26 UTC

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

2023-12-15 22:55:27 UTC

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

Details
Created

2023-12-15 22:17:05 UTC

Size

2.15 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

0364b36a2127ff8b99a989c621e6e0b26c00947015685f899f0485b6132cfacd

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.4.27-rc0


Layers

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

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

[#002] sha256:6ffb0789ebc488671f03cf062d964ad5c635a5deb651d9e3961bfc5b74d2b331 - 0.0% (1.35 KB)

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

[#004] sha256:502b3cea4ba1d941ab9afd8eaa680adb1b65b53351a7ca28f6f38706609e6ca9 - 0.0% (1.33 KB)

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

[#006] sha256:d208acb8a7759f3dedb87767a6e2f47702fa09a81cfcd5e2c76ef19f4820de3b - 10.66% (234 MB)

[#007] sha256:27d582d3fec966083d525da0d97e3892e951f4f9bd359cb8c555c445758af2ab - 0.0% (1.34 KB)

[#008] sha256:baa9f52816eb6add1785f987b1a481f78efebf2a0a87265e39a5c4b2842b6185 - 0.0% (1.36 KB)

[#009] sha256:02f72b136853ec344cf40cbfdaa6761bfcdd20b88c82af2ad857cef65f5e149c - 0.0% (1.31 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:15:28 UTC

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

2023-12-15 22:15:29 UTC

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

2023-12-15 22:15:30 UTC

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

2023-12-15 22:15:31 UTC

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

2023-12-15 22:17:02 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:17:04 UTC

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

2023-12-15 22:17:05 UTC

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

2023-12-15 22:17:05 UTC

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

Details
Created

2023-12-19 19:08:50 UTC

Size

158 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

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

4.4.27~rc0

PATH

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


Layers

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

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

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

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

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

[#005] sha256:acbd9a8c4f0a7f5493388a35727fbbf9e3113360f83306fb35b29d20b02f8f71 - 0.0% (2.48 KB)

[#006] sha256:b31eb1a9062a522ba308efb7458b971da948d578307e635310686955040b33ce - 0.0% (262 Bytes)

[#007] sha256:dfae271fb14976ca68f0c440ea58ae6dc5ac7ebc515a92bac426cdf97cca0668 - 78.75% (124 MB)

[#008] sha256:30fe35659e694169ed4efc7c78d3b751441224f753bab6de0b4a26c2942d33c0 - 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' '28DE23AF08040FB24C33F36381B0EBBBADCEA95C'; 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=testing

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.27~rc0

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