2023-01-27 23:20:12 UTC
1.52 GB
3a46941614a4bedce377bf4ffdbababb80109ce5953f334aeec38c9be4540852
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.19-rc0-signed.msi
MONGO_VERSION4.4.19-rc0
[#000] sha256:1a65b089bc835b0c3700397b1935e97cf469b0891bb4de3942c8dfbe4b672d47 - 84.94% (1.29 GB)
[#001] sha256:a81c906622aa010adfaf1dd8c570ad750108a9b1a91ee1eb148e409e3e4fe68f - 0.0% (1.39 KB)
[#002] sha256:d0af70fe3a80dcdcf014f6d6e5ea16dde6ebcfaa207a10fa5d2a47943ac7aa4e - 0.0% (1.39 KB)
[#003] sha256:07577bf7868f1c0ab54790d4bb9bd5b3f02e206b8d24167c4f00ede6e149baad - 0.0% (1.36 KB)
[#004] sha256:950068d9dbadebaf1ac4af3b520dfe8ee1486b535c6f6eca2afe53c3a70c2600 - 0.0% (1.34 KB)
[#005] sha256:a10cd48e85f0c05b69f112313a096a237e26523357f5f9adc2ba84e391c9523e - 15.06% (234 MB)
[#006] sha256:2f9ba45d47426181bc3ce3d5d270c08ded50b44b39f5b6d39a7b407f674f58de - 0.0% (1.39 KB)
[#007] sha256:13a1c954e57178533b64019808812f37668af1c2f95daf2128666d00e9efc8b7 - 0.0% (1.39 KB)
[#008] sha256:8d4a0d051ac5af9401e3495b1ab6b46d59c42a5f7e6964e82c40518f83e9fad2 - 0.0% (1.4 KB)
Apply image 10.0.20348.1487
2023-01-12 04:01:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-01-27 23:18:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.19-rc0
2023-01-27 23:18:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.19-rc0-signed.msi
2023-01-27 23:18:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=3a46941614a4bedce377bf4ffdbababb80109ce5953f334aeec38c9be4540852
2023-01-27 23:20:07 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-01-27 23:20:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-01-27 23:20:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-01-27 23:20:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]