2024-08-21 23:49:10 UTC
247 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION7.0.14~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:857cc8cb19c0f475256df4b7709003b77f101215ebf3693118e61aac6a5ea4ff - 11.41% (28.2 MB)
[#001] sha256:029032282f278d4b4847e1a202a19bb6e18eb209f9fd070da02e2dc5ba57457c - 0.0% (1.74 KB)
[#002] sha256:d47a70afc337353f8815db7facf2c85db989cc4f20c00bd5b1aee23520beb53d - 0.58% (1.43 MB)
[#003] sha256:e56df41865eb26a50fbd8fcc99e89444b8af05d04e523a7cae58c66edc4dbe70 - 0.42% (1.05 MB)
[#004] sha256:22bd51890727f77ad477697b0d59f9bd82436c920d73cb844886669f322ace71 - 0.0% (116 Bytes)
[#005] sha256:28d4e801fee7e160653016a16dd0a8f1ad4d842b7df7272224c7c45870a189e9 - 0.0% (264 Bytes)
[#006] sha256:adbd782b535d729e7c9e829528be68bc0825677fa2785f21ec427e9a7ed5acd1 - 0.0% (264 Bytes)
[#007] sha256:604975bed3238af6e41fa82cbd3b006e2ccd12c11ce3bd7e58a0d7686b8746f7 - 87.58% (216 MB)
[#008] sha256:0c7ed442853f7765072ea6b28f4812f3cbe2451f692b338b5719f24f57005460 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-08-13 09:27:22 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-08-13 09:27:22 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-08-13 09:27:22 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-08-13 09:27:24 UTC/bin/sh -c #(nop) ADD file:2f8a54a5efd080fb81efea702b4e3e07d946eec7563fb2281bd28950c10ec462 in /
2024-08-13 09:27:24 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-08-21 23:49:10 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-21 23:49:10 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-21 23:49:10 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-08-21 23:49:10 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-08-21 23:49:10 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-08-21 23:49:10 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-08-21 23:49:10 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-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=7.0.14~rc0
2024-08-21 23:49:10 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-21 23:49:10 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2024-08-22 01:04:53 UTC
2.56 GB
aac4412844e7e2d21e28c885787c1e8a8c04348af72a65dab2e566f9013fc942
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.14-rc0-signed.msi
MONGO_VERSION7.0.14-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 50.47% (1.29 GB)
[#001] sha256:dcd649075383e8df03ea713dfe59e1205716fbaa14450c10ef0d0a24a7b63669 - 27.38% (718 MB)
[#002] sha256:9941e11e1eafd1a47095fc92f8493f5701f15fa4ff28f14f76b3c66818dd9516 - 0.0% (1.28 KB)
[#003] sha256:25e90fd900c41dbb4d451e4bc3db0bd5e3357279bfe7fbe94fc99e1861788f81 - 0.0% (1.25 KB)
[#004] sha256:7dd5a2737f02f7668d3285d5a466734d6888a4b58096f43eccb0c6d37246d386 - 0.0% (1.25 KB)
[#005] sha256:b8db8fb616d375b2ea0c090b17013b1d0e83593ba4b903653d239d93c86529df - 0.0% (1.25 KB)
[#006] sha256:7e3c4bab0a9f5d358dd1dcb21a2f5f3b22ea9b1c8a73d33412e52f357bfdb1e2 - 22.15% (581 MB)
[#007] sha256:aa908e4b9ad0948df54614767d13c9ff74955f36bd31a094d7d97d671ba89321 - 0.0% (1.25 KB)
[#008] sha256:6894165f42c5440d9c7e82239b184f9474baf58436f8327e9090924b29b546ef - 0.0% (1.25 KB)
[#009] sha256:484458f00b01408bc335158e4c18ce8e7ca7aaafb13a4a05dd03c806c0eb7b99 - 0.0% (1.25 KB)
Apply image 10.0.20348.1787
2024-08-10 19:49:59 UTCInstall update 10.0.20348.2655
2024-08-22 01:03:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-08-22 01:03:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.14-rc0
2024-08-22 01:03:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.14-rc0-signed.msi
2024-08-22 01:03:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=aac4412844e7e2d21e28c885787c1e8a8c04348af72a65dab2e566f9013fc942
2024-08-22 01:04: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-08-22 01:04:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-08-22 01:04:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-08-22 01:04:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-08-22 00:58:13 UTC
2.66 GB
aac4412844e7e2d21e28c885787c1e8a8c04348af72a65dab2e566f9013fc942
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.14-rc0-signed.msi
MONGO_VERSION7.0.14-rc0
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 57.82% (1.54 GB)
[#001] sha256:579bd4d5f7fd8737f66e40b29aafedee32d589107027d75796993c8898e3e7dd - 20.83% (567 MB)
[#002] sha256:335f241aa9d7dcc0ede549ca28c9b4e4f880a59c8f2ce9b883ff57f980b9849d - 0.0% (1.27 KB)
[#003] sha256:79619361c1fd28d2810f0acd1fdaa4cda3d55a60be7af36aa2dc27d7e687205a - 0.0% (1.27 KB)
[#004] sha256:8f08a6042148401604454df25db15f903065f16618a4941fa075bb3ddffa9a5c - 0.0% (1.27 KB)
[#005] sha256:62bbcf2518d2e7bb69279c75bfc69da0fd15688ed01b5a42f2fcd4ad0f1624d8 - 0.0% (1.25 KB)
[#006] sha256:79458a01e6600de56fd2bb78145822a6e7d7ba4d95014d03140f53dd36603a6f - 21.35% (581 MB)
[#007] sha256:7e38fbec7b3cefaf9edc13944e8a6749d490933be68e7739de140cc6d2e762b1 - 0.0% (1.27 KB)
[#008] sha256:56437f348340809463ddb8a78e707dd60133025f885983df0a7f00dcbb290d28 - 0.0% (1.27 KB)
[#009] sha256:3970b9945f389c9b103d8f5705a8ac3c35e62b1d25ba96ed78b98d3eccfb2bd2 - 0.0% (1.26 KB)
Apply image 10.0.17763.4499
2024-08-11 07:11:31 UTCInstall update 10.0.17763.6189
2024-08-22 00:54:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-08-22 00:54:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.14-rc0
2024-08-22 00:54:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.14-rc0-signed.msi
2024-08-22 00:54:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=aac4412844e7e2d21e28c885787c1e8a8c04348af72a65dab2e566f9013fc942
2024-08-22 00:58: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-22 00:58:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-08-22 00:58:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-08-22 00:58:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-08-21 23:49:10 UTC
236 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION7.0.14~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:e63ce922f0229bde5aea9f366c46883dcd23747e7d2c541f16665f199dbf98b8 - 11.06% (26.1 MB)
[#001] sha256:94c5099c6f371c3636e69be7e06e54581f64b8c31de3c79ee2e511aab3b0621b - 0.0% (1.74 KB)
[#002] sha256:43b46311ab598f2b54f733e70bf994f009a4d0e96b1ca8244fe0c81dfda8c066 - 0.59% (1.4 MB)
[#003] sha256:fbd0e10652dc83edba7b9de4bb31dae56e092a9093c0363e0b3eab0877187024 - 0.42% (1000 KB)
[#004] sha256:9fd10b1d8fc63870b4750222cd103d83525a7eb0d788daf8c02d42ae4811ed9f - 0.0% (116 Bytes)
[#005] sha256:1f00ffda9a7aea8b86e4c299b8d6fabf3e5abe586958c710c6133bf7028edca0 - 0.0% (265 Bytes)
[#006] sha256:13d6aed2fa440d75645319e45e950986005145dd1e534286cd42448cf0179e52 - 0.0% (265 Bytes)
[#007] sha256:ee15ceda151bf25de7aabc8536737f4cd229ea48d4a7320c6ba700619f0ed30f - 87.93% (208 MB)
[#008] sha256:4029d281f968a5a5778717d50bc7c0b9591a23f15f38b33bc11ef34100efe704 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-08-13 09:28:17 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-08-13 09:28:17 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-08-13 09:28:17 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-08-13 09:28:20 UTC/bin/sh -c #(nop) ADD file:4126c5ecc7750c7d2beb8c08d15aea03d96910453b36d2fb2d41185fdca7b20f in /
2024-08-13 09:28:20 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-08-21 23:49:10 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-21 23:49:10 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-21 23:49:10 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-08-21 23:49:10 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-08-21 23:49:10 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-08-21 23:49:10 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-08-21 23:49:10 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-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=7.0.14~rc0
2024-08-21 23:49:10 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-21 23:49:10 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-08-21 23:49:10 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-08-21 23:49:10 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.