Namespace
library
Image / Tag
mongo:5.0.31-rc0
Content Digest
sha256:4225ecd7f52505dd278065a4f4005108cd17f32f8b5c13c689301686c193734d
Details
Created

2024-12-20 05:01:19 UTC

Size

251 MB

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

Environment
GOSU_VERSION

1.17

HOME

/data/db

JSYAML_CHECKSUM

662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

JSYAML_VERSION

3.13.1

MONGO_MAJOR

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

5.0.31~rc0

PATH

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


Layers

[#000] sha256:d9802f032d6798e2086607424bfe88cb8ec1d6f116e11cd99592dcaf261e9cd2 - 10.43% (26.2 MB)

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

[#002] sha256:9609e0279b20dcb463cbf58609d6846182df1a41dc328fbb8a2f1b43d70bbe0b - 1.17% (2.95 MB)

[#003] sha256:7ec97b1ab984fa8b4d2ad1e9bc7e1b85bc317179e0c9b0d33e9534b82114879b - 0.41% (1.04 MB)

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

[#005] sha256:6759ba1af7f00a6285e385e3c8659068883f6cc56d378491408fff12826a3ce9 - 0.0% (261 Bytes)

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

[#007] sha256:8a3af88707c68a2a94b47e4833d19aca89928459920fecd92c676fdc46cc9a6d - 87.98% (221 MB)

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


History
2024-10-11 03:38:25 UTC

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

2024-10-11 03:38:25 UTC

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

2024-10-11 03:38:25 UTC

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

2024-10-11 03:38:25 UTC

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

2024-10-11 03:38:27 UTC

/bin/sh -c #(nop) ADD file:7486147a645d8835a5181c79f00a3606c6b714c83bcbfcd8862221eb14690f9e in /

2024-10-11 03:38:27 UTC

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

2024-12-20 05:01:19 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-12-20 05:01:19 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-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2024-12-20 05:01:19 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.tgz https://registry.npmjs.org/js-yaml/-/js-yaml-${JSYAML_VERSION}.tgz; echo "$JSYAML_CHECKSUM */opt/js-yaml/js-yaml.tgz" | sha256sum -c -; tar -xz --strip-components=1 -f /opt/js-yaml/js-yaml.tgz -C /opt/js-yaml package/dist/js-yaml.js package/package.json; rm /opt/js-yaml/js-yaml.tgz; ln -s /opt/js-yaml/dist/js-yaml.js /js-yaml.js; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-dev.asc' 'https://pgp.mongodb.com/server-5.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11' > /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-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

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

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

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

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

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

2024-12-20 05:01:19 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 focal/${MONGO_PACKAGE%-unstable}/5.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-5.0.list" # buildkit

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=5.0.31~rc0

2024-12-20 05:01:19 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-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

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

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2025-01-14 23:38:34 UTC

Size

2.4 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

96ebfde8a9540459d8a46e8ba6afabd9dc9ee61e700d8c956a6d98b78511f954

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.31-rc0


Layers

[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 56.73% (1.36 GB)

[#001] sha256:440cf16a6c1eb5c6c232aa5e54099878e9ddb01fb83b65139ec4e2618d1e00de - 31.05% (763 MB)

[#002] sha256:6e36ac8926072ca0e203ff0ceb6461713fc011cd03c68cadca2a014a6f732ef9 - 0.0% (1.25 KB)

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

[#004] sha256:df92b2877164385307aa631d881b32214155552165523b65e84ff07e0a0e27e7 - 0.0% (1.25 KB)

[#005] sha256:1fae991ee3837d363a1f38b0ddba7cb22141556bf2fb35e99bc93cc6897936f7 - 0.0% (1.28 KB)

[#006] sha256:7c0dd614a6ee4db255740dff4e4c58cd35900e1b223e15a32fe5f0be5e2da749 - 12.22% (300 MB)

[#007] sha256:2938450910258b038855e3d1c246316e655c7ce60def0f0d604b2b9d757603ad - 0.0% (1.25 KB)

[#008] sha256:3815b60cc6dc39e66e8f1b892f33b9043a99fdf1ae63d4f0d9e7ff54b8055b82 - 0.0% (1.25 KB)

[#009] sha256:49d69b49927aa6018761307acc14841089a471c19a91eb056884096426820a61 - 0.0% (1.26 KB)


History
2024-09-06 00:01:38 UTC

Apply image 10.0.20348.2700

2025-01-12 10:10:43 UTC

Install update 10.0.20348.3091

2025-01-14 23:37:42 UTC

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

2025-01-14 23:37:43 UTC

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

2025-01-14 23:37:44 UTC

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

2025-01-14 23:37:45 UTC

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

2025-01-14 23:38:27 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.';

2025-01-14 23:38:31 UTC

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

2025-01-14 23:38:33 UTC

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

2025-01-14 23:38:34 UTC

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

Details
Created

2025-01-14 23:43:59 UTC

Size

2.27 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

96ebfde8a9540459d8a46e8ba6afabd9dc9ee61e700d8c956a6d98b78511f954

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.31-rc0


Layers

[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 70.58% (1.6 GB)

[#001] sha256:09e6adf68d473b439b895dbef289349826f793d13a35d136c1e4a98b09d23cd4 - 16.49% (383 MB)

[#002] sha256:494ec05de510f423332b65dbfe195f7ceeefc004ae39ce2053d97923e105ed03 - 0.0% (1.3 KB)

[#003] sha256:67dbf0a1a42b4cfd9b3a617e530ef08508a0707d04a241ca5efdb16126a6b8f8 - 0.0% (1.26 KB)

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

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

[#006] sha256:dfb5a6e9e2782ac4a29af9ec558ca4b8f90f974e33a7310b84709acceb0cd4c9 - 12.93% (300 MB)

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

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

[#009] sha256:e51e5e6d20a86fcb2601e2791560358d47cb1c139d006556869911033c011223 - 0.0% (1.27 KB)


History
2024-09-06 01:15:31 UTC

Apply image 10.0.17763.6293

2025-01-09 09:46:25 UTC

Install update 10.0.17763.6775

2025-01-14 23:42:31 UTC

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

2025-01-14 23:42:32 UTC

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

2025-01-14 23:42:33 UTC

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

2025-01-14 23:42:34 UTC

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

2025-01-14 23:43:57 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.';

2025-01-14 23:43:58 UTC

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

2025-01-14 23:43:59 UTC

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

2025-01-14 23:43:59 UTC

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

Details
Created

2024-12-20 05:01:19 UTC

Size

242 MB

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

Environment
GOSU_VERSION

1.17

HOME

/data/db

JSYAML_CHECKSUM

662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

JSYAML_VERSION

3.13.1

MONGO_MAJOR

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

5.0.31~rc0

PATH

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


Layers

[#000] sha256:1b9f3c55f9d4aa5c52eb67a4cb7d0f4726ab85a413b50e3e3fe788befce3d297 - 10.25% (24.8 MB)

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

[#002] sha256:a8104eb5e2fe7b10003610984b52484bad29e1377c5658f5e335bcfef451c947 - 1.16% (2.81 MB)

[#003] sha256:a6f0bb22830a7f622cbae46675f7dbb34ecbeed906291fdd2914a8e5e2b6a0a8 - 0.4% (1000 KB)

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

[#005] sha256:730983326b2315cf630413dd579828b2126e81ffdba0c5ae8a60d73590d39d25 - 0.0% (262 Bytes)

[#006] sha256:35217bd6127afd0af76a13a8a47bf5449c8393f14ffd4fcc3d03161e22ce7da1 - 0.0% (261 Bytes)

[#007] sha256:21d2da951163204984766ed4d4239ed76d39e34e15b73292e1d7ca8553a77854 - 88.18% (213 MB)

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


History
2024-10-11 03:39:45 UTC

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

2024-10-11 03:39:45 UTC

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

2024-10-11 03:39:45 UTC

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

2024-10-11 03:39:45 UTC

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

2024-10-11 03:39:47 UTC

/bin/sh -c #(nop) ADD file:8537b4db344382b39d669af27cd94ec0f870ceafe58c67ee54e3f9b38fb8d671 in /

2024-10-11 03:39:47 UTC

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

2024-12-20 05:01:19 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-12-20 05:01:19 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-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2024-12-20 05:01:19 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.tgz https://registry.npmjs.org/js-yaml/-/js-yaml-${JSYAML_VERSION}.tgz; echo "$JSYAML_CHECKSUM */opt/js-yaml/js-yaml.tgz" | sha256sum -c -; tar -xz --strip-components=1 -f /opt/js-yaml/js-yaml.tgz -C /opt/js-yaml package/dist/js-yaml.js package/package.json; rm /opt/js-yaml/js-yaml.tgz; ln -s /opt/js-yaml/dist/js-yaml.js /js-yaml.js; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-dev.asc' 'https://pgp.mongodb.com/server-5.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11' > /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-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

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

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

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

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

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

2024-12-20 05:01:19 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 focal/${MONGO_PACKAGE%-unstable}/5.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-5.0.list" # buildkit

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=5.0.31~rc0

2024-12-20 05:01:19 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-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

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

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-12-20 05:01:19 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-12-20 05:01:19 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