2023-11-16 04:00:20 UTC
2.05 GB
ce6c6b3365e23ffc2245dce2030523ef4440fd154b6965ac5d4e19bc86e86a4d
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.22-signed.msi
MONGO_VERSION5.0.22
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 63.1% (1.29 GB)
[#001] sha256:7989ef2c4cfb06d845746a3c3660481ea84d3f5c8216041855ce528f0ac4015c - 22.64% (475 MB)
[#002] sha256:d1a73dc3dec59ae25ff1232f5fdf2ab39df387f3bf86ba48717ff271d76c2feb - 0.0% (1.39 KB)
[#003] sha256:78cd7c2f8c2b2bb0422b1a595af55d831f32fdf0b60de1e9610dc5336a93524f - 0.0% (1.26 KB)
[#004] sha256:7ab04e4ba2a0706c12533c3d64bca05277ab8901482d8919448e48da020750b0 - 0.0% (1.26 KB)
[#005] sha256:7b7bd85d24a25a2a12db8c6e3303015131610c2f0096f6197f37efcfa8cfbe2a - 0.0% (1.35 KB)
[#006] sha256:90b53fa18465eda7d3cb4311c8646dd3a40c1840e05ddefe63e412e4c80bef3f - 14.26% (299 MB)
[#007] sha256:899ba2f5d792e2f8223d8d6cb027d74cc3def971f58e97d5e3832e5f8581cb08 - 0.0% (1.39 KB)
[#008] sha256:84f8ca785c6878f9202ba44f759355eb91589b71451e0225a89eb58868bc4505 - 0.0% (1.4 KB)
[#009] sha256:aaa4a024fd9bc21626f9ae68243113476955440c77ed4e7c240046169c4799d9 - 0.0% (1.38 KB)
Apply image 10.0.20348.1787
2023-11-09 06:47:20 UTCInstall update 10.0.20348.2113
2023-11-16 03:18:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-11-16 03:58:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.22
2023-11-16 03:58:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.22-signed.msi
2023-11-16 03:58:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=ce6c6b3365e23ffc2245dce2030523ef4440fd154b6965ac5d4e19bc86e86a4d
2023-11-16 04:00:16 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\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 ' 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.';
2023-11-16 04:00:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-11-16 04:00:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-11-16 04:00:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]