2026-08-11 18:31:25 UTC
286 MB
glibc.pthread.rseq=0
GOSU_VERSION1.19
HOME/data/db
JSYAML_CHECKSUM662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
JSYAML_VERSION3.13.1
MONGO_MAJOR8.3
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.3.8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:966c395d29cb24a3faf7e04f32878fe5778819d4132daee4f47e2aaf7b9af924 - 9.91% (28.4 MB)
[#001] sha256:0f904152f8bd62ed119e0dce8b687b6d94237a6b727cd5adf8c0ef3d6b212488 - 0.0% (1.19 KB)
[#002] sha256:45d06b37927e991177f5a0587cd49c3f962689b6a01aeda7d36ef237e60bac3e - 1.29% (3.7 MB)
[#003] sha256:3fc7571312641fc8edca91378603b45bc0327c161a90bc6c7883e29d9936c141 - 0.31% (912 KB)
[#004] sha256:5831ac9354561d25da463471675957fe251aa8eac4c8cc151cfbc1e096a8b18e - 0.0% (116 Bytes)
[#005] sha256:d7836bf519beb7a542890349aae58b340476a44e2f730382c7f0ceee3f940e53 - 0.0% (263 Bytes)
[#006] sha256:7073d45fa94c5867d0c2b06d8b679f6ef96e6f9f8f25e8f229762a5a58e89e06 - 88.48% (253 MB)
[#007] sha256:b77d33f1e28b5be92cd93de5f5f2976411191fa5979d9398205858fd50d34c39 - 0.0% (4.89 KB)
/bin/sh -c #(nop) ARG RELEASE
2026-07-31 20:37:20 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2026-07-31 20:37:20 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2026-07-31 20:37:22 UTC/bin/sh -c #(nop) ADD file:d938ff3d4eee15d8600de84bf85eac6ecd0f20bc92dfe305dafbff0bdc974c0f in /
2026-07-31 20:37:23 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2026-08-11 18:30:44 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
2026-08-11 18:30:53 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
2026-08-11 18:31:05 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-08-11 18:31:05 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2026-08-11 18:31:05 UTC (buildkit.dockerfile.v0)ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
2026-08-11 18:31:05 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-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '4B0752C1BCA238C0B4EE14DC41DE058A4E7DCA05' > /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
2026-08-11 18:31:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-08-11 18:31:05 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2026-08-11 18:31:05 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2026-08-11 18:31:05 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2026-08-11 18:31:05 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=8.3
2026-08-11 18:31:05 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 noble/$MONGO_PACKAGE/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/$MONGO_PACKAGE.list" # buildkit
2026-08-11 18:31:05 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.3.8
2026-08-11 18:31:24 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
2026-08-11 18:31:24 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2026-08-11 18:31:24 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2026-08-11 18:31:24 UTC (buildkit.dockerfile.v0)ENV GLIBC_TUNABLES=glibc.pthread.rseq=0
2026-08-11 18:31:25 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2026-08-11 18:31:25 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-08-11 18:31:25 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2026-08-11 18:31:25 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2026-08-12 17:49:28 UTC
3.13 GB
d938c6dbc75f9ccdd0880ef91612364ba5f3c08f3640b4ee28a2cd95d4c99861
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.3.8-signed.msi
MONGO_VERSION8.3.8
[#000] sha256:0938cf51b672b81c9804d1d5f0c57031c931f41b279270e84820c63642d6a3bd - 45.29% (1.42 GB)
[#001] sha256:0e5abeeefbb7b11eb6332573ca632d3d8807213461f1b97f3cfee8899a29583f - 27.29% (875 MB)
[#002] sha256:c1221989eb5d8b877bf2fc50793424c4beebfe11603ac4548c5402f5befbaa1a - 0.0% (1.25 KB)
[#003] sha256:e92275372643da6c48c0e5e54636979a3d28d186a921a8ddb6ba1fed1c7098d5 - 0.0% (1.27 KB)
[#004] sha256:a66b140625d1017a1a770446a0fd4c29f7d003a49258b7165fcfde48b22f7801 - 0.0% (1.25 KB)
[#005] sha256:60f99c10c90a20ca2bef86180af2c40ec6a154e660df5bbf14f26aa0d03578b9 - 0.0% (1.26 KB)
[#006] sha256:93cf5d6e3696e3ba6b8192a9efd8096be191f07ac3e62059daa0282cad864182 - 27.43% (880 MB)
[#007] sha256:a13b8f9fa2b7778e95e27a4c2f89c367c0467775dadfc295f275e7992a98b69f - 0.0% (1.27 KB)
[#008] sha256:efb151980290ebdb13b5bf8fe536f57de5320d30ef136559237f477f772dbc83 - 0.0% (1.27 KB)
[#009] sha256:edacc3baa51bd14fed8c9f3f9f36b289ac92de20a89613a2e8b69abe2b488221 - 0.0% (1.25 KB)
Apply image 10.0.26100.32230
2026-08-09 09:10:21 UTCInstall update 10.0.26100.33296
2026-08-12 17:47:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2026-08-12 17:47:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.3.8
2026-08-12 17:47:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.3.8-signed.msi
2026-08-12 17:47:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=d938c6dbc75f9ccdd0880ef91612364ba5f3c08f3640b4ee28a2cd95d4c99861
2026-08-12 17:49:27 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.';
2026-08-12 17:49:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2026-08-12 17:49:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2026-08-12 17:49:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2026-08-12 17:51:02 UTC
2.89 GB
d938c6dbc75f9ccdd0880ef91612364ba5f3c08f3640b4ee28a2cd95d4c99861
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.3.8-signed.msi
MONGO_VERSION8.3.8
[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 47.93% (1.39 GB)
[#001] sha256:16a37dc2b2d3c6043d57b7ca0e32bc7d3fe761174f2d192d1aabe93b7895c9b7 - 22.37% (663 MB)
[#002] sha256:a164a094cd982b14c21655e30366c21a02af8c98904e7a38667854a428d15596 - 0.0% (1.26 KB)
[#003] sha256:6c3c6b491db1685d7853b3b6b4669ef75643c077f4e5601d3ce2e7d7cb2642d8 - 0.0% (1.3 KB)
[#004] sha256:703bfef82fdac6536a3b39510e7afb64992fdce3af7e4352ff642e3a8286a1d4 - 0.0% (1.26 KB)
[#005] sha256:c313b2eea779f9af4120512ed64e9f45e160b9921c7e9beeba16a0a1e05a59bb - 0.0% (1.29 KB)
[#006] sha256:52c8da35baf948a5f6e01cf3864782165c1d64dbe5de4ecbf722cef715b46df2 - 29.7% (880 MB)
[#007] sha256:a1f167c9cd1a3ec6b51d75409d80ed8eeef236faacb399ce1d3f6d6d7781e7a7 - 0.0% (1.26 KB)
[#008] sha256:6af0c2f92c121e57e7ca277aa3a88cfdaef527c73c0cbe6f50ed9fc8bbfab63e - 0.0% (1.31 KB)
[#009] sha256:09d10e3e7ed6d6644aad7f31f90374cbc143ec2cd26816a83698fb6c0415676a - 0.0% (1.29 KB)
Apply image 10.0.20348.4294
2026-08-09 04:19:26 UTCInstall update 10.0.20348.5499
2026-08-12 17:49:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2026-08-12 17:49:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.3.8
2026-08-12 17:49:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.3.8-signed.msi
2026-08-12 17:49:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=d938c6dbc75f9ccdd0880ef91612364ba5f3c08f3640b4ee28a2cd95d4c99861
2026-08-12 17:51:01 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.';
2026-08-12 17:51:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2026-08-12 17:51:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2026-08-12 17:51:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2026-08-11 19:08:00 UTC
271 MB
glibc.pthread.rseq=0
GOSU_VERSION1.19
HOME/data/db
JSYAML_CHECKSUM662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
JSYAML_VERSION3.13.1
MONGO_MAJOR8.3
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.3.8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:d23996caa910b8e5029375ee7c7ec02ef8bae3d85194897323e7145071299ac9 - 10.17% (27.5 MB)
[#001] sha256:54292ddcf9f782576c7bbb9867858354c9552bb95b9a9762d4fcbe76c449964e - 0.0% (1.19 KB)
[#002] sha256:9998ae4d10ea4b5b3ff382af3f9c4e3930b79a565134e69f318ddf4f3d30915e - 0.51% (1.38 MB)
[#003] sha256:3b6423dfa22ec3ae8a646373cde38419a443f581fd5bb15da140b919684df81a - 0.31% (866 KB)
[#004] sha256:21a2a80bf19bbe0be4c3c96bfc3c02bc19f1a795198ddfe47709d7a266ceba23 - 0.0% (116 Bytes)
[#005] sha256:7e57d43b0575587c30489e158f34c8bb693e8cde996f2aa1db8be263f19e3bd3 - 0.0% (264 Bytes)
[#006] sha256:85b791be63c5bfcff3eb4cb35a01ad0e6b823fc5ffa34fe27d2a5a90644c34d4 - 89.0% (241 MB)
[#007] sha256:c3b82ad1617ea4bbabc54e56a1f863001b789d70ae4a6f7ac053629ac398ec51 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2026-07-31 20:45:33 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2026-07-31 20:45:33 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2026-07-31 20:45:37 UTC/bin/sh -c #(nop) ADD file:695c79b2217675519eeed9028b8e5d7ae9915817a49f5bf34e80ad57197f07f6 in /
2026-07-31 20:45:37 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2026-08-11 19:07:14 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
2026-08-11 19:07:23 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
2026-08-11 19:07:36 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-08-11 19:07:36 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2026-08-11 19:07:36 UTC (buildkit.dockerfile.v0)ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
2026-08-11 19:07:36 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-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '4B0752C1BCA238C0B4EE14DC41DE058A4E7DCA05' > /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
2026-08-11 19:07:36 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-08-11 19:07:36 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2026-08-11 19:07:36 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2026-08-11 19:07:36 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2026-08-11 19:07:36 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=8.3
2026-08-11 19:07:36 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 noble/$MONGO_PACKAGE/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/$MONGO_PACKAGE.list" # buildkit
2026-08-11 19:07:36 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.3.8
2026-08-11 19:08:00 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
2026-08-11 19:08:00 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2026-08-11 19:08:00 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2026-08-11 19:08:00 UTC (buildkit.dockerfile.v0)ENV GLIBC_TUNABLES=glibc.pthread.rseq=0
2026-08-11 19:08:00 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2026-08-11 19:08:00 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-08-11 19:08:00 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2026-08-11 19:08:00 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.