Skip to content

Commit

Permalink
Cherry pick PR #1884: Add nasm to Win containers (#2310)
Browse files Browse the repository at this point in the history
Refer to the original PR: youtube/cobalt#1884

This is a build dependency of optimized assembler code for software
decoders.

b/281831576

Co-authored-by: Kaido Kert <[email protected]>
  • Loading branch information
cobalt-github-releaser-bot and kaidokert authored Jan 27, 2024
1 parent aaf386d commit 2a9d16f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/windows/base/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ RUN iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.or
choco install -y -c C:\choco-cache nodejs-lts;`
choco install -y -c C:\choco-cache git;`
choco install -y -c C:\choco-cache cmake --installargs 'ADD_CMAKE_TO_PATH=System';`
choco install -y -c C:\choco-cache nasm;`
setx /M PATH $($Env:PATH + ';C:\Program Files\NASM');`
Write-Host ('Deleting the chocolately download cache');`
Remove-Item -Force -Recurse $env:TEMP\*;`
C:\fast-win-rmdir.cmd C:\choco-cache;`
Expand Down

0 comments on commit 2a9d16f

Please sign in to comment.