2024-02-29 23:36:29 UTC
247 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION7.0.7~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:bccd10f490ab0f3fba61b193d1b80af91b17ca9bdca9768a16ed05ce16552fcb - 11.42% (28.2 MB)
[#001] sha256:38ee4d5dc1caffb04adfdcf0b60f8e78bf30a44378d1f541b9c6f5b3b5828731 - 0.0% (1.73 KB)
[#002] sha256:ebc72af2eb906c0a2145a6edade6f57371e5d58d7f3f375f86933e377ad81df6 - 0.58% (1.43 MB)
[#003] sha256:94c9c69eaa64c264cd723509c66ff6b53b8e178841d8482d98c041e35a7c652c - 0.42% (1.05 MB)
[#004] sha256:65b897e23c737f34c903063734709a984d44aa5b6ccea2e61a537d246089c2df - 0.0% (116 Bytes)
[#005] sha256:d1169a0f083aa3ab0096a3aee2dd8419aecf4f6c9cc694449f46baede7ad3b15 - 0.0% (265 Bytes)
[#006] sha256:cd020201210fce3e9f611c2dc5f58afff4877cc1bd28f0f030036a1f44445fdb - 0.0% (265 Bytes)
[#007] sha256:8d3b3e7c89eeb1ca255c351b9ea46c31355d7274c93075f7d0724d17dcc177ff - 87.57% (216 MB)
[#008] sha256:3451174e8acbc51ebdf1da1cf695c19a991d6d5e7e80e9527ae4869d594343f7 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-02-27 18:52:57 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-02-27 18:52:57 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-02-27 18:52:57 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-02-27 18:52:58 UTC/bin/sh -c #(nop) ADD file:21c2e8d95909bec6f4acdaf4aed55b44ee13603681f93b152e423e3e6a4a207b in /
2024-02-27 18:52:59 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-02-29 23:36:29 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-02-29 23:36:29 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-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-02-29 23:36:29 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.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; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-dev.asc' 'https://pgp.mongodb.com/server-7.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'E58830201F7DD82CD808AA84160D26BB1785BA38' > /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-02-29 23:36:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-02-29 23:36:29 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
2024-02-29 23:36:29 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}/7.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-7.0.list" # buildkit
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=7.0.7~rc0
2024-02-29 23:36:29 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
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2024-03-01 00:52:57 UTC
2.35 GB
a3242e9532dc2ce3e6379bf0960dc23111fe6672ea8e84e8d0a3354335ebaa93
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.7-rc0-signed.msi
MONGO_VERSION7.0.7-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 54.95% (1.29 GB)
[#001] sha256:855fa6b82f2f8fea22646f0d4aa228ea8cbb8bc562afd14a163a8f3d0eb010e1 - 20.66% (498 MB)
[#002] sha256:01ee67cc34e812eebb3734bde764fdeeb297aa2797a1af83a8923aab530cf0cf - 0.0% (1.3 KB)
[#003] sha256:7aa7aed4027fbaac18df8944e3094c8a16d23b124fb0a32cd64cae3a8c28fb1a - 0.0% (1.26 KB)
[#004] sha256:d7965314e43d4a7e253a01a0e89a37c584bb1de9ec5e90c1e668a708fcfb698c - 0.0% (1.26 KB)
[#005] sha256:0f26d3ce0f7637b7c74148ebf0a64ebd65a085b3caa428d441d99a66dc832c64 - 0.0% (1.26 KB)
[#006] sha256:bf34eb39123a716cf7da024a4ce73c31f648fdbc16ba445bb145cde852def285 - 24.39% (588 MB)
[#007] sha256:d3463e3cdab218b48ab98f0dd96fed7849960faced0494caccd946e5a279ff83 - 0.0% (1.26 KB)
[#008] sha256:c07c24e22f36443946216170d0f192f26dfef312b7d43b907e60f50cbe73813b - 0.0% (1.26 KB)
[#009] sha256:f4a1b764f7395824a4eafc27afb98a63267bbd599e45e179449e38c4e3b09291 - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2024-02-07 06:55:59 UTCInstall update 10.0.20348.2322
2024-03-01 00:49:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-03-01 00:49:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.7-rc0
2024-03-01 00:49:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.7-rc0-signed.msi
2024-03-01 00:49:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=a3242e9532dc2ce3e6379bf0960dc23111fe6672ea8e84e8d0a3354335ebaa93
2024-03-01 00:52:53 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.';
2024-03-01 00:52:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-03-01 00:52:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-03-01 00:52:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-03-01 00:52:44 UTC
2.51 GB
a3242e9532dc2ce3e6379bf0960dc23111fe6672ea8e84e8d0a3354335ebaa93
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.7-rc0-signed.msi
MONGO_VERSION7.0.7-rc0
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 61.21% (1.54 GB)
[#001] sha256:dda007680e5cddfaf6f5428f70f8c514ac0b9dd099972b7d475cce4c5c899558 - 15.94% (410 MB)
[#002] sha256:40feeadc85bf3ae2f338fe5522f077195bedf071a1b3adfb2ba9330e3ea82036 - 0.0% (1.27 KB)
[#003] sha256:8cf18e7bc45e66d0414a55319c49b0e30e7b764109508b439ce310059666e8b2 - 0.0% (1.26 KB)
[#004] sha256:c472bccb1cb856f294176343ec3a73f3f368bd0ebce2c379f9fcaffd8d9b7f66 - 0.0% (1.27 KB)
[#005] sha256:66de6ae70ef99620fdf02c97b3c28d5b1f1e4a6d2ee2b6fe8100dcd9ef7ab088 - 0.0% (1.26 KB)
[#006] sha256:8c681ac61f3d8282496a17c398d7a2dad26b700b3866995680f64e2909d5b7ce - 22.85% (588 MB)
[#007] sha256:b4890ca5fd828a77770ae130c07b62497036aa2f2c2b4e230cffe2851a1f6173 - 0.0% (1.26 KB)
[#008] sha256:2c0b6a2516d3716236ad3c9401c86ed7534c0b9287f9ff75096e5680fe99117e - 0.0% (1.26 KB)
[#009] sha256:62203d234f4fb1d9786dcc45dfb3060c197105e02757bf45107e9caf80f42132 - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2024-02-04 04:14:09 UTCInstall update 10.0.17763.5458
2024-03-01 00:49:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-03-01 00:49:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.7-rc0
2024-03-01 00:49:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.7-rc0-signed.msi
2024-03-01 00:49:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=a3242e9532dc2ce3e6379bf0960dc23111fe6672ea8e84e8d0a3354335ebaa93
2024-03-01 00:52:42 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.';
2024-03-01 00:52:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-03-01 00:52:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-03-01 00:52:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-02-29 23:36:29 UTC
239 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION7.0.7~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:a4a2c7a57ed8b997579870d0927433b03cfd94f5dba2153bdbcd885b5d620035 - 10.92% (26.1 MB)
[#001] sha256:1354176b189db5e882e8695cd36475579099a8312ad5731dd9c9365249630636 - 0.0% (1.74 KB)
[#002] sha256:20a94d566154f568d8d3806d6f82aeec09ecd0408a9db227eceeb6849c9ead90 - 0.59% (1.4 MB)
[#003] sha256:5ad00f25ffceddd6f6f5849ead1634eb38e3e03b191014a095d407ac9e1a69b8 - 0.41% (1000 KB)
[#004] sha256:9c33bd196b3877173ceb3b7e62db9f030ac91f96f233d3fc1896833e6bf6b6b1 - 0.0% (116 Bytes)
[#005] sha256:e37a99ae80b7738afceb45571d3e39c4360a72b3ab82b0fb6d4afbf0cf4a412b - 0.0% (268 Bytes)
[#006] sha256:ca4f90041b22065aef1a7a5ee910d5df23e45129db225137656485c8df8af238 - 0.0% (267 Bytes)
[#007] sha256:d653c42cf1f5a7b3b708a43ab56cc18785d874d2bf6b408674de0c8649730143 - 88.08% (210 MB)
[#008] sha256:916a162786e901446db996b23ec721e35edb2c8fb92324dd83c1ebd6e434f0de - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-02-13 10:08:34 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-02-13 10:08:34 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-02-13 10:08:34 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-02-13 10:08:48 UTC/bin/sh -c #(nop) ADD file:8d91b8bd386e0cc3407396da8cb35fad29dc5025c641db58739e8c0b3fd77ef0 in /
2024-02-13 10:08:49 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-02-29 23:36:29 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-02-29 23:36:29 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-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-02-29 23:36:29 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.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; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-dev.asc' 'https://pgp.mongodb.com/server-7.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'E58830201F7DD82CD808AA84160D26BB1785BA38' > /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-02-29 23:36:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-02-29 23:36:29 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
2024-02-29 23:36:29 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}/7.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-7.0.list" # buildkit
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=7.0.7~rc0
2024-02-29 23:36:29 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
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-02-29 23:36:29 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-02-29 23:36:29 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.