2025-03-17 22:01:11 UTC
250 MB
1.17
HOME/data/db
JSYAML_CHECKSUM662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
JSYAML_VERSION3.13.1
MONGO_MAJOR6.0
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION6.0.21
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:30a9c22ae099393b0131322d7f50d8a9d7cd06c5e518cd27a19ac960a4d0aba3 - 11.26% (28.2 MB)
[#001] sha256:37bd9e9ce4dca5ece369a2a4a59e15e188b21ab09a7a0a9bbf01f926a1df3f0b - 0.0% (1.74 KB)
[#002] sha256:1a28d8e10e668292bb81a4850236a9dad0255b85b6daca2074f0fb3db948656d - 0.58% (1.44 MB)
[#003] sha256:ff1e910af53a6da6768ca49ec54f62b8dca525212c2a0ba17b750646cf5d1ec0 - 0.42% (1.04 MB)
[#004] sha256:0b08c165256e7f9b6ac5a4502f64f6fc50b4e9d3b7ef69e560bc204936fee981 - 0.0% (116 Bytes)
[#005] sha256:1564edad542d74710919ac7f63e73fd401bc887094605d6e80096a8ac5463df4 - 0.0% (261 Bytes)
[#006] sha256:3183389c3113d1188cf4040f6294b6562ce8c1a72ad5b950818a32844b817841 - 87.74% (220 MB)
[#007] sha256:901c3e814024c2e99ec46c6994c5bfcdbe430c080b4077f6ccd1c75b98c6630e - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2025-03-17 22:01:11 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2025-03-17 22:01:11 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2025-03-17 22:01:11 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2025-03-17 22:01:11 UTC/bin/sh -c #(nop) ADD file:433cf0b8353e08be3a6582ad5947c57a66bdbb842ed3095246a1ff6876d157f1 in /
2025-03-17 22:01:11 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-03-17 22:01:11 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
2025-03-17 22:01:11 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
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
2025-03-17 22:01:11 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-6.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '39BD841E4BE5FB195A65400E6A26B1AE64C3C388' > /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
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=6.0
2025-03-17 22:01:11 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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=6.0.21
2025-03-17 22:01:11 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 ${MONGO_PACKAGE}-database=$MONGO_VERSION ${MONGO_PACKAGE}-database-tools-extra=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2025-04-09 00:50:24 UTC
3.65 GB
5bf510cf298083b313149ba7ee98fae10c4300513967b090ec14048b6515c0d8
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.21-signed.msi
MONGO_VERSION6.0.21
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 56.49% (2.06 GB)
[#001] sha256:761846874dadc4dd9490d5635a266306989ac061986d0e4bcfe36a76ef6888b8 - 30.07% (1.1 GB)
[#002] sha256:5efea3973d2dcf3f33aa809452c8b0e7786f632259e614a43553c646338d34d6 - 0.0% (1.3 KB)
[#003] sha256:3a443ff1f5aae421a6138da2eb4b0ae37ded11bd9c6a0ba1c19e698fbf285aa9 - 0.0% (1.26 KB)
[#004] sha256:cc16c4d955810a879c2a1642b71199ec1d9d2005da29533171fe5a47a43c63f5 - 0.0% (1.26 KB)
[#005] sha256:d8debf4cdc163045874b50eaa8ebe2e2b47b86c0277b7137402408288a101d2d - 0.0% (1.29 KB)
[#006] sha256:b1001e6e2a89b1eb9f6214499ba809b53dea1c20341a43d317465909ff004abc - 13.44% (503 MB)
[#007] sha256:e17600dded17b6ccb4d7f3822737cc7fd508d7c6c1685652a9d30859c4065a77 - 0.0% (1.26 KB)
[#008] sha256:d9ba7531cd26fb325aefeb8903e0b46cb843ea03308082da99eac1e023c080ff - 0.0% (1.26 KB)
[#009] sha256:fa191c2bc83f78b585c7a3f308c954a4b76b9b4212402793a22edd1adb940746 - 0.0% (1.29 KB)
Apply image 10.0.26100.2605
2025-04-06 07:48:58 UTCInstall update 10.0.26100.3775
2025-04-09 00:49:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-04-09 00:49:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.21
2025-04-09 00:49:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.21-signed.msi
2025-04-09 00:49:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=5bf510cf298083b313149ba7ee98fae10c4300513967b090ec14048b6515c0d8
2025-04-09 00:50:21 UTCpowershell -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=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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2025-04-09 00:50:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-04-09 00:50:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-04-09 00:50:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2025-04-09 01:01:03 UTC
2.51 GB
5bf510cf298083b313149ba7ee98fae10c4300513967b090ec14048b6515c0d8
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.21-signed.msi
MONGO_VERSION6.0.21
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 63.95% (1.6 GB)
[#001] sha256:f8d949f82a48e7c53af792160596b10005419fbc7ecfed6bc45bbeee3a5a2f07 - 16.45% (422 MB)
[#002] sha256:da4213655b0112b11a38a4747651c028f94570ae767ab4da029716f3c656bbdb - 0.0% (1.27 KB)
[#003] sha256:4e41e2bfd1248f553499974003beb6112ab1d24f8377740bcf1d874846ce792b - 0.0% (1.27 KB)
[#004] sha256:da63d62733c0e9cd83e5c4022cdcc6250670f4c747da3b53dc6ef4a103d17b3f - 0.0% (1.25 KB)
[#005] sha256:175665f13b290df7322c9a9ccef02b57ce408aa5e1ecd4d679aeb29cd740485c - 0.0% (1.26 KB)
[#006] sha256:678c43d94a9daa65d4cd1d4df55cc833bc3644d4c9ecc293fecbe3ee348885a7 - 19.6% (503 MB)
[#007] sha256:718707e0e5e290dc700603a7c3df477c34836091d11020ff3f4dc9f1ef7ab1c7 - 0.0% (1.27 KB)
[#008] sha256:05aaab942c8670fdd61c0ccfbaa5f491417a1f14ae7e2d24e5c890914666ed91 - 0.0% (1.27 KB)
[#009] sha256:f7ae697c770b2f4e2fba57ea96107d2d61cfb67c1c3b03c4e75832e82d676fd7 - 0.0% (1.27 KB)
Apply image 10.0.17763.6293
2025-04-05 01:48:05 UTCInstall update 10.0.17763.7136
2025-04-09 00:59:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-04-09 00:59:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.21
2025-04-09 00:59:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.21-signed.msi
2025-04-09 00:59:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=5bf510cf298083b313149ba7ee98fae10c4300513967b090ec14048b6515c0d8
2025-04-09 01:00:58 UTCpowershell -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=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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2025-04-09 01:01:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-04-09 01:01:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-04-09 01:01:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2025-04-09 00:49:39 UTC
2.61 GB
5bf510cf298083b313149ba7ee98fae10c4300513967b090ec14048b6515c0d8
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.21-signed.msi
MONGO_VERSION6.0.21
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 52.26% (1.36 GB)
[#001] sha256:510f1abe0ffe1466f946291b3ac20345b4a5e2063a896736990eae81bbf4bdb4 - 28.9% (771 MB)
[#002] sha256:6652b842aa67e43d71c55196ee289984fc8901de18c2e4a27148b5051aa99332 - 0.0% (1.28 KB)
[#003] sha256:c55093c006448396de103e4fcdfe6b4bc61f54265359a3768a4c82dac3316be3 - 0.0% (1.25 KB)
[#004] sha256:c71227e7d4eb9f8502928bb2852deb6fd658d1d9bb4028e302f24513a085a2bd - 0.0% (1.25 KB)
[#005] sha256:5aaa9470cf045d682d37889983dcbb6c60589cad269425ef8c4a58f3b198cf2f - 0.0% (1.25 KB)
[#006] sha256:a2f72e6c1302a23cdb4afe4863b10ae47ec8858019d99c8d42aa43a0b34f7fa9 - 18.84% (503 MB)
[#007] sha256:241c27a3ee9aa62110bf8b5cd8b231559e293214c75102136ad20ebcc1da82a0 - 0.0% (1.25 KB)
[#008] sha256:c14a4fc93a131b76cd743f8829794516ddb27464a5bcb297963183b4dec16d46 - 0.0% (1.25 KB)
[#009] sha256:2f84e4f329cd1a734c7a1ea873ffeebf7dd7129aedb1c41d73e4e9e3f501da54 - 0.0% (1.25 KB)
Apply image 10.0.20348.2700
2025-04-04 23:10:04 UTCInstall update 10.0.20348.3453
2025-04-09 00:48:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-04-09 00:48:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.21
2025-04-09 00:48:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.21-signed.msi
2025-04-09 00:48:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=5bf510cf298083b313149ba7ee98fae10c4300513967b090ec14048b6515c0d8
2025-04-09 00:49:36 UTCpowershell -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=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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2025-04-09 00:49:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-04-09 00:49:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-04-09 00:49:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2025-03-17 22:01:11 UTC
240 MB
1.17
HOME/data/db
JSYAML_CHECKSUM662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
JSYAML_VERSION3.13.1
MONGO_MAJOR6.0
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION6.0.21
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:7b76bc00f23a24375cf6b51079ebcf72fb02d56fa741b31e5f979672fc65c576 - 10.89% (26.1 MB)
[#001] sha256:95a9680ebf8757cf00f3f44c8e11741d6a6695b4d4fb9f8c47ba2f4efe41bb38 - 0.0% (1.74 KB)
[#002] sha256:d49f871ed9c366a03abbed08130f14a06a417b31c488a293fb737c96eb1ecc46 - 0.59% (1.41 MB)
[#003] sha256:a19cf80be8e2651edf60c815ec64b3f8ee55e18d0663547bb448224178088783 - 0.41% (1000 KB)
[#004] sha256:5d688391fd1b059a159119d95f59e60b13a79e6b9cb9d7ea9ccce50a0a260733 - 0.0% (116 Bytes)
[#005] sha256:49fd445302aed743efa2e0bcc46ba37fe36d011858f05be1908ff192d0da3fe9 - 0.0% (267 Bytes)
[#006] sha256:3ecc338ccb33a05f369c92b2885c02e50020f07304ec840709331b137299727a - 88.11% (211 MB)
[#007] sha256:dca01894c65cca52cbe3785a3810b7c2623449449a5a006544584baa88a5d10c - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2025-03-17 22:01:11 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2025-03-17 22:01:11 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2025-03-17 22:01:11 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2025-03-17 22:01:11 UTC/bin/sh -c #(nop) ADD file:f7fa9c3fec404bf0500211305250f795384645b6032774d9641b0dae7d5fac61 in /
2025-03-17 22:01:11 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-03-17 22:01:11 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
2025-03-17 22:01:11 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
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
2025-03-17 22:01:11 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-6.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '39BD841E4BE5FB195A65400E6A26B1AE64C3C388' > /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
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=6.0
2025-03-17 22:01:11 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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=6.0.21
2025-03-17 22:01:11 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 ${MONGO_PACKAGE}-database=$MONGO_VERSION ${MONGO_PACKAGE}-database-tools-extra=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2025-03-17 22:01:11 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
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.