2021-09-02 00:19:32 UTC
6.07 GB
64f3a496487d964d95702188a54d5a92b44009a246711bcaf0dcde5b6229306b
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.16-rc0-signed.msi
MONGO_VERSION4.2.16-rc0
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 62.43% (3.79 GB)
[#001] sha256:c427f892fe74603ae09d4e49b25f8f7046f957054034dc9f462e0e88d7bffaa5 - 33.76% (2.05 GB)
[#002] sha256:a869803fc3d8292f0fe1bc6ed35e1ceedbd7c797a1486767a55f88c6c28ed4c5 - 0.0% (1.39 KB)
[#003] sha256:67b2e38909b81518335bb0faf64838932b807cdfaa9a5fcbada822b02b79e675 - 0.0% (1.38 KB)
[#004] sha256:73418c388f6b71745b9ac9ca1431804184807a718fcfd32049d8e8bda0903993 - 0.0% (1.32 KB)
[#005] sha256:274a1d5ec823a980b7b651033b8b52931f31736388aa69cf621a7da0872b471d - 0.0% (1.35 KB)
[#006] sha256:6c4ea74cdb203f868042a4b4c90fc3403f1f9d8ed330c876aeda256d720eff33 - 3.8% (236 MB)
[#007] sha256:9d108174378f8d4d22af90ba77c7836d89fbebbd6523d06e076b778a64bb9f95 - 0.0% (1.38 KB)
[#008] sha256:5200f262ddc3e62999e75b071402cf5a036263d7d830bcb4856393a2234860e6 - 0.0% (1.38 KB)
[#009] sha256:50e976026932ba64bfd27806acd50e9c57414e07e3e245d32d223540bf9d8548 - 0.0% (1.39 KB)
Apply image 1607-RTM-amd64
2021-08-01 08:52:00 UTCInstall update ltsc2016-amd64
2021-08-25 13:59:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-09-02 00:17:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.16-rc0
2021-09-02 00:17:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.16-rc0-signed.msi
2021-09-02 00:17:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=64f3a496487d964d95702188a54d5a92b44009a246711bcaf0dcde5b6229306b
2021-09-02 00:19:28 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=Client,MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.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 ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2021-09-02 00:19:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-09-02 00:19:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-09-02 00:19:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]