2024-08-08 23:53:50 UTC
263 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.0.0~rc16
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:9c704ecd0c694c4cbdd85e589ac8d1fc3fd8f890b7f3731769a5b169eb495809 - 10.78% (28.3 MB)
[#001] sha256:815b64c3e420590000656f6c31ef91be5a33f55907b0fbcaaeb47a136d1e0b4c - 0.0% (1.19 KB)
[#002] sha256:8363cbfedd74058f898b0cfe6f8d9adf4a6c06ce0d9c76bd44b1ebd1652e3a83 - 1.42% (3.73 MB)
[#003] sha256:ece6a2e238b1cda6042dbca23bec937529a08e9da954a3f3aa4871a417ab2a0c - 0.41% (1.08 MB)
[#004] sha256:577ada5ce00db795f1b962b408e33a5d1ecc78b863f4cd4f1df6cccf0a3a7512 - 0.0% (116 Bytes)
[#005] sha256:2e8fa8e22010bb25eab0a929b6d7a37993f0a4adc7ed7c9c69121f93237e92a2 - 0.0% (266 Bytes)
[#006] sha256:6898c547e159a3e1c9affd778a60b80de604842eb405678a33a0f31c0a2ed0fa - 0.0% (265 Bytes)
[#007] sha256:ca63ef32052968d44229970aefa918c4941c80745a6f815cfad74e5106114800 - 87.39% (230 MB)
[#008] sha256:ad28e0bf2e3ea9990f0efe41f321d9316450a589e3ff80eb138ef84db7d5579e - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-06-07 12:00:06 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-06-07 12:00:06 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-06-07 12:00:06 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2024-06-07 12:00:08 UTC/bin/sh -c #(nop) ADD file:5601f441718b0d192d73394b35fd07675342837ec9089ddd52dd1dc0de79630e in /
2024-06-07 12:00:09 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-08-08 23:53:50 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-08-08 23:53:50 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-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-08-08 23:53:50 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-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' '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
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-08-08 23:53:50 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%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2024-08-08 23:53:50 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%-unstable}/8.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-8.0.list" # buildkit
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.0.0~rc16
2024-08-08 23:53:50 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-08-08 23:53:50 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2024-08-06 00:57:13 UTC
2.71 GB
5ed91c36a62fb0957e30762fd80b6662e5eefda277eb2fd7657b0ca7d618aba2
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc16-signed.msi
MONGO_VERSION8.0.0-rc16
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 47.79% (1.29 GB)
[#001] sha256:5f0206d135152eb909f50159d6ca348a5aead199afacbafc000b770c1b0720f6 - 25.85% (716 MB)
[#002] sha256:021afafe8481f7f0d6570f7fa5083e7714f3cf8ec4e6db6f0e1273e9c74ae88c - 0.0% (1.26 KB)
[#003] sha256:81ba301726ea421e663c4e2e7be7068e7a18683e93cf4eb6e8269d1b23e461a0 - 0.0% (1.26 KB)
[#004] sha256:f8447507abcdb35fd7e838f2d76093f93011a70c5ecca05f1cfb5023b155672b - 0.0% (1.25 KB)
[#005] sha256:df624c8f7de59477019fc58812ef4666a2873c7de6053f0b86e8c44d980f2c9d - 0.0% (1.26 KB)
[#006] sha256:ce17c575933f950d9483bf9c3c9a705e26ce713924bbd21234e048caa8c7244b - 26.36% (730 MB)
[#007] sha256:80e7a46127611ebdf6455007512cc2baf333b06474d6b3295a2f34f0472c9b88 - 0.0% (1.26 KB)
[#008] sha256:2e1277f7af482d2881e8da2cc74908cbc1b88212a43acb5980609792c9e0e9f6 - 0.0% (1.29 KB)
[#009] sha256:faf576d7e0c299ba7b7680a6d4bf58cece411f28709d402330c50068e8c1032d - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2024-07-03 10:07:02 UTCInstall update 10.0.20348.2582
2024-08-06 00:55:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-08-06 00:55:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc16
2024-08-06 00:55:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc16-signed.msi
2024-08-06 00:55:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=5ed91c36a62fb0957e30762fd80b6662e5eefda277eb2fd7657b0ca7d618aba2
2024-08-06 00:57:11 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-08-06 00:57:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-08-06 00:57:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-08-06 00:57:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-08-06 00:59:16 UTC
2.8 GB
5ed91c36a62fb0957e30762fd80b6662e5eefda277eb2fd7657b0ca7d618aba2
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc16-signed.msi
MONGO_VERSION8.0.0-rc16
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 54.94% (1.54 GB)
[#001] sha256:b5f98e7fe87492b83d7775a348ae0c94412b638ab5bba1a80b03c3a547708acd - 19.56% (561 MB)
[#002] sha256:c000ca5abfc2a6c989d8beb9fcd5c9a05a2ac4f74be674aa35a41fb9cd6ce46e - 0.0% (1.27 KB)
[#003] sha256:6d99647fe9f87bb79f77e0a14c590e712d411b1fe8096de8763ed8d001e9d68b - 0.0% (1.25 KB)
[#004] sha256:903a196c3afa421a158413bdce6b7fb12f649799b7df156812e9d732abced7df - 0.0% (1.27 KB)
[#005] sha256:b7932f0e0131ffd105b0013587d9f0d303632f6ad01bdbb81a9fea2b928480c0 - 0.0% (1.26 KB)
[#006] sha256:51ade197e9b6284ba03171f2ee0757684e95030c6e5633ceffa61dd7319e0ccc - 25.5% (731 MB)
[#007] sha256:27ef2b864b858413ce686fb773cce5ce5857999fb2431fb9cd9af63e0f678374 - 0.0% (1.27 KB)
[#008] sha256:77dc5fd7217772827cac8506ccd5d02c419567c4fc308e260f3369666f357457 - 0.0% (1.27 KB)
[#009] sha256:fe20a43d9eb93d06b39a68d3c8624bcb7a65327b2842c761eb114e25b8eab726 - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2024-07-03 00:34:32 UTCInstall update 10.0.17763.6054
2024-08-06 00:55:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-08-06 00:55:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc16
2024-08-06 00:55:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc16-signed.msi
2024-08-06 00:55:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=5ed91c36a62fb0957e30762fd80b6662e5eefda277eb2fd7657b0ca7d618aba2
2024-08-06 00:59:14 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-08-06 00:59:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-08-06 00:59:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-08-06 00:59:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-08-08 23:53:50 UTC
253 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.0.0~rc16
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:eed1663d223832f23c8ca8fc0f9b48e2bcb0813b94a692d43b0a0a963e89d20f - 10.89% (27.5 MB)
[#001] sha256:0303916ca1caf1be3c5a1e651543718e1a2de9af3a4cecae7c9f1945b6c49b52 - 0.0% (1.19 KB)
[#002] sha256:eb083910e93283bf2e2a2c34305de03232af328f87d25de7f6e155f34feaf854 - 1.4% (3.53 MB)
[#003] sha256:8556e491b977f04daebad411e73f4154336375b83eb6b371dbf592ae0cca9f8a - 0.4% (1.01 MB)
[#004] sha256:63865dd8485230c1ccb98fbf69b2d92f26ee692e755af1c8799cafc990ef23d4 - 0.0% (116 Bytes)
[#005] sha256:a9ba887ece46412d37831dcc17252c1350e1ce6c9d7e67e2b3dc16501258c971 - 0.0% (265 Bytes)
[#006] sha256:3d26720fde195a3750ff73ab963f842ce2e422e2d4fa12469c82f1842ebb3ae4 - 0.0% (265 Bytes)
[#007] sha256:dd08e279f8dbfbecb8f78a71a6431c9190d6dd0db0705897a57d7da82a5f25c1 - 87.31% (220 MB)
[#008] sha256:475825ada852b228ba078b224b5917143e821c2a6aeecec6bfe80fc980ac7884 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-06-07 11:48:27 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-06-07 11:48:27 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-06-07 11:48:27 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2024-06-07 11:48:32 UTC/bin/sh -c #(nop) ADD file:9018302bda8cbdb55f2f84a40373c46413db64611139a450dbfec3fc55b8e6ea in /
2024-06-07 11:48:33 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-08-08 23:53:50 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-08-08 23:53:50 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-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-08-08 23:53:50 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-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' '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
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-08-08 23:53:50 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%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2024-08-08 23:53:50 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%-unstable}/8.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-8.0.list" # buildkit
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.0.0~rc16
2024-08-08 23:53:50 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-08-08 23:53:50 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-08-08 23:53:50 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-08-08 23:53:50 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.