2024-03-09 17:01:37 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~rc2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:bccd10f490ab0f3fba61b193d1b80af91b17ca9bdca9768a16ed05ce16552fcb - 11.42% (28.2 MB)
[#001] sha256:ecf64f0e1072f799f56bcabab55a1ebe3e4c990d3f5ef12e9fbe079fb96b01e4 - 0.0% (1.74 KB)
[#002] sha256:24cef2d3981151ff94fe2cda5bed954ec259dde6350fa328f3880f9ca6400603 - 0.58% (1.43 MB)
[#003] sha256:1649def2e32920821f826d639750ae73522c7c629326b5e0528d30a0417e9c17 - 0.42% (1.05 MB)
[#004] sha256:a36876db9d53e57b36aebaa046df3c1e31fff652623e62c49cb2d5c9f912e128 - 0.0% (116 Bytes)
[#005] sha256:b5d73e5eadcb865f2fec5d94a72565087a4cc60d99cebff99624fabe00273009 - 0.0% (266 Bytes)
[#006] sha256:4b8079a5e81752010197a8ac741c193624c9966d078e67a8d7726c38413ea63e - 0.0% (265 Bytes)
[#007] sha256:c669ae5bcb4dc54193172b29559a5f47156fc45bd24de43ee1a05b792a3a7b79 - 87.57% (216 MB)
[#008] sha256:a8b386d8fa0ea4ca9ea6a93095f1a2c1ac5326fc52d54623476028b1a8431eb3 - 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-03-09 17:01:37 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-03-09 17:01:37 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-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-03-09 17:01:37 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-03-09 17:01:37 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-03-09 17:01:37 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-03-09 17:01:37 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-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=7.0.7~rc2
2024-03-09 17:01:37 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-03-09 17:01:37 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2024-03-13 00:07:12 UTC
2.4 GB
e22bab04e716f29c70420a247f6e10814fc344488c985860ff58b074a1fb53af
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.7-rc2-signed.msi
MONGO_VERSION7.0.7-rc2
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 53.91% (1.29 GB)
[#001] sha256:a61557bf66429be9509f579104808d2853f8f7aefbd49ef26f5f2a90266c46f5 - 22.09% (543 MB)
[#002] sha256:3a6c7fb745d4901045583a65ba181176fac4a2c0ca987d01baf15618bb357f5b - 0.0% (1.26 KB)
[#003] sha256:8996c7d009a69499b7722fd85b1f00758f057aad7d9f059b4182701f2560b542 - 0.0% (1.26 KB)
[#004] sha256:e8708b79bfa5c87626979577b3a1638f1900b7ae2fcd95f0facc417b228e40dd - 0.0% (1.26 KB)
[#005] sha256:b6d1b658118443a992341f6de1321377932b7704cbbf377db329bc9ae3690f7c - 0.0% (1.26 KB)
[#006] sha256:3eb4e8412fe2fbef169f64c410b62e5fb152c2e0a1b80881a679e157ee170923 - 24.0% (589 MB)
[#007] sha256:4a52fa12b14a5143c2e76247fa5b22355e1ae41ca5bc4d818e3b8d2020bb7df7 - 0.0% (1.26 KB)
[#008] sha256:0a34a0f627488cfc93c04e26328a7b719325014702956f7d951594f4947af11a - 0.0% (1.26 KB)
[#009] sha256:e1038bf00607e353ebaed526c711cd9d7fd7593a40715ba489b14b431b532738 - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2024-03-05 19:55:40 UTCInstall update 10.0.20348.2340
2024-03-13 00:05:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-03-13 00:05:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.7-rc2
2024-03-13 00:05:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.7-rc2-signed.msi
2024-03-13 00:05:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=e22bab04e716f29c70420a247f6e10814fc344488c985860ff58b074a1fb53af
2024-03-13 00:07:10 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-13 00:07:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-03-13 00:07:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-03-13 00:07:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-03-13 00:08:52 UTC
2.55 GB
e22bab04e716f29c70420a247f6e10814fc344488c985860ff58b074a1fb53af
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.7-rc2-signed.msi
MONGO_VERSION7.0.7-rc2
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 60.17% (1.54 GB)
[#001] sha256:a22a88a4a0d197cb745939f382a7898094af0a089fce3173f283651a01da996b - 17.3% (452 MB)
[#002] sha256:e6766be3055abde89e999fc7feae38b2f3ac2ad80db4ed34ce81b0b04bd10259 - 0.0% (1.25 KB)
[#003] sha256:7dc78ac688ad5a28517855f4c408fa9da4e645ae5854fd5855b6ded18f2a4550 - 0.0% (1.27 KB)
[#004] sha256:ba3b5999de3fa407f4e0cd2e392eefc8c52b714b9dd5f0dde05d0eca7c99ad48 - 0.0% (1.26 KB)
[#005] sha256:fbf36d2d3906bcf405aa7b592d6709a1aa81fbdca5050a6a027742292d51ef67 - 0.0% (1.29 KB)
[#006] sha256:bcf76c9d56974ef549e9a4c136ca83f5f60c85963c252c88fdd580afa867220c - 22.53% (590 MB)
[#007] sha256:560f749fb55bc43dc0e7ff78c26ec2c2574b854c84c6bbf342286b9aaebd5257 - 0.0% (1.26 KB)
[#008] sha256:1632c8f2889e8f8f93d03ddd1faba596d2d156789fd4d0011b82d64c0f489bf6 - 0.0% (1.27 KB)
[#009] sha256:c523dde7a8f12b5e83bc5f295d937d16c304034593a137e42d5c42c2262a8f95 - 0.0% (1.26 KB)
Apply image 10.0.17763.4499
2024-03-04 01:18:21 UTCInstall update 10.0.17763.5576
2024-03-13 00:06:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-03-13 00:06:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.7-rc2
2024-03-13 00:06:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.7-rc2-signed.msi
2024-03-13 00:06:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=e22bab04e716f29c70420a247f6e10814fc344488c985860ff58b074a1fb53af
2024-03-13 00:08:50 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-13 00:08:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-03-13 00:08:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-03-13 00:08:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-03-09 17:01:37 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~rc2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:f4bb4e8dca02be491b4f72d2ef2127a64ce49c48d0d9c0a0fcaffa625067679d - 10.92% (26.1 MB)
[#001] sha256:cf4bd89af55c0e4a026246b31bb0ead738f1dec86ed74f6cd61588112089ffdf - 0.0% (1.74 KB)
[#002] sha256:e5eac8f7306550dc8afd92ed23b6cf11dd6ce96e577a15565b3b5af29aa2503f - 0.59% (1.4 MB)
[#003] sha256:16b47bd209c36bf258b230884ee3c825350074aa65c134f119b6a0ea51cc964a - 0.41% (1000 KB)
[#004] sha256:383d4e115d4c29433aa74f8f37e39f915b7467fd365202efb8c5c9232898c742 - 0.0% (116 Bytes)
[#005] sha256:89504ca6cf567c8937111dcec07e7fac28390eefd0b586cfc6d8c00662547769 - 0.0% (264 Bytes)
[#006] sha256:298a35cf3e9c34b8bfd212539163dbce1279220700f02311cdccb45f596a2c1a - 0.0% (264 Bytes)
[#007] sha256:90c93c7cd14bf9f902c63224a9e279025ad9b5d1660a0d4a2821a12f2a0ff819 - 88.08% (210 MB)
[#008] sha256:44ecbd53768dad3823327a1f14049086957310ae0c241758b29e3fa1a7ff4618 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-02-27 18:53:22 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-02-27 18:53:22 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-02-27 18:53:22 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-02-27 18:53:25 UTC/bin/sh -c #(nop) ADD file:07cdbabf782942af04487c9da03de50a611a51e69d8bac1f593acb73a3ba3a46 in /
2024-02-27 18:53:25 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-03-09 17:01:37 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-03-09 17:01:37 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-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-03-09 17:01:37 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-03-09 17:01:37 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-03-09 17:01:37 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-03-09 17:01:37 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-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=7.0.7~rc2
2024-03-09 17:01:37 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-03-09 17:01:37 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-03-09 17:01:37 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-03-09 17:01:37 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.