Skip to content

Commit 917fe13

Browse files
committed
Remove docker installer after installation
1 parent 4681838 commit 917fe13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ if (NBL_WITH_DOCKER)
207207
else()
208208
execute_process(COMMAND powershell -Command "& {
209209
Invoke-WebRequest -Uri https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe -OutFile DockerDesktopInstaller.exe;
210-
Start-Process -FilePath .\\DockerDesktopInstaller.exe -ArgumentList 'install','--quiet','--accept-license','--backend=wsl-2'
210+
Start-Process -FilePath .\\DockerDesktopInstaller.exe -ArgumentList 'install','--quiet','--accept-license','--backend=wsl-2';
211+
Remove-Item -Force DockerDesktopInstaller.exe;
211212
}")
212213
endif()
213214
endif()

0 commit comments

Comments
 (0)