Block a user
rustnemo-windows-base (latest)
Published 2026-02-26 15:27:57 +00:00 by andrea
Installation
docker pull git.difonzo.net/andrea/rustnemo-windows-base:latestsha256:8a1f52771c578f05d18c61a4855c590eabfd81e3eab05766dfe96efe9a3c4b16
Image Layers
| Apply image 10.0.20348.4294 |
| Install update 10.0.20348.4773 |
| ENV RUST_VERSION=1.75.0 |
| ENV FLUTTER_VERSION=3.24.5 |
| ENV VCPKG_COMMIT=120deac3062162151622ca4860575a33844ba10b |
| ENV CARGO_HOME=C:\cargo |
| ENV RUSTUP_HOME=C:\rustup |
| ENV VCPKG_ROOT=C:\vcpkg |
| ENV LIBCLANG_PATH=C:\LLVM\bin |
| SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';] |
| powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString( 'https://community.chocolatey.org/install.ps1')) |
| powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; choco install -y git python3 nasm --no-progress |
| powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri 'https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/LLVM-18.1.8-win64.exe' -OutFile C:\llvm-installer.exe; Start-Process C:\llvm-installer.exe -ArgumentList '/S','/D=C:\LLVM' -Wait; Remove-Item C:\llvm-installer.exe -Force |
| powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri 'https://aka.ms/vs/17/release/vs_buildtools.exe' -OutFile C:\vs_buildtools.exe; Start-Process C:\vs_buildtools.exe -ArgumentList '--quiet','--wait','--norestart','--nocache', '--installPath','C:\BuildTools', '--add','Microsoft.VisualStudio.Workload.VCTools', '--add','Microsoft.VisualStudio.Component.VC.Tools.x86.x64', '--add','Microsoft.VisualStudio.Component.VC.CMake.Project', '--add','Microsoft.VisualStudio.Component.Windows11SDK.22621' -Wait; Remove-Item C:\vs_buildtools.exe -Force |
| powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri 'https://win.rustup.rs/x86_64' -OutFile C:\rustup-init.exe; Start-Process C:\rustup-init.exe -ArgumentList '-y','--default-toolchain',$env:RUST_VERSION -Wait; Remove-Item C:\rustup-init.exe -Force |
| powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = 'https://storage.googleapis.com/flutter_infra_release/releases/stable/windows/flutter_windows_' + $env:FLUTTER_VERSION + '-stable.zip'; Invoke-WebRequest -Uri $url -OutFile C:\flutter.zip; Expand-Archive C:\flutter.zip -DestinationPath C:\; Remove-Item C:\flutter.zip -Force |
| SHELL [cmd /S /C] |
| cmd /S /C C:\flutter\bin\flutter config --no-analytics && C:\flutter\bin\flutter precache --windows |
| cmd /S /C git clone https://github.com/microsoft/vcpkg.git C:\vcpkg && cd C:\vcpkg && git checkout %VCPKG_COMMIT% && bootstrap-vcpkg.bat -disableMetrics |
| cmd /S /C pip install brotli |
| SHELL [powershell -Command $ErrorActionPreference = 'Stop';] |
| powershell -Command $ErrorActionPreference = 'Stop'; $add = 'C:\flutter\bin;C:\cargo\bin;C:\LLVM\bin;C:\vcpkg;'; $cur = [Environment]::GetEnvironmentVariable('PATH', 'Machine'); [Environment]::SetEnvironmentVariable('PATH', $add + $cur, 'Machine') |
| WORKDIR C:\build |