diff options
author | Steven Koo <steven.koo@ni.com> | 2021-03-17 13:53:16 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-03-19 15:40:09 -0500 |
commit | f2a3954ce3f3c89a464cc36eafa8c72e2b821c32 (patch) | |
tree | 81cabf1b2e48cdd7f96fc4a52136ccc8e113e8f5 /.ci/docker/uhd-builder-vs2019-v142-x64.Dockerfile | |
parent | 3b29a89b9f9a8167a595eed2988b89e2a7f2112a (diff) | |
download | uhd-f2a3954ce3f3c89a464cc36eafa8c72e2b821c32.tar.gz uhd-f2a3954ce3f3c89a464cc36eafa8c72e2b821c32.tar.bz2 uhd-f2a3954ce3f3c89a464cc36eafa8c72e2b821c32.zip |
ci: install vc_buildtools instead of vc_community
For our build machines, we don't need full on Visual Studio.
Instead this installs the VS Build Tools, which has the CLI
build apps we need.
Signed-off-by: Steven Koo <steven.koo@ni.com>
Diffstat (limited to '.ci/docker/uhd-builder-vs2019-v142-x64.Dockerfile')
-rw-r--r-- | .ci/docker/uhd-builder-vs2019-v142-x64.Dockerfile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.ci/docker/uhd-builder-vs2019-v142-x64.Dockerfile b/.ci/docker/uhd-builder-vs2019-v142-x64.Dockerfile index d10b87cac..7c4ff74e1 100644 --- a/.ci/docker/uhd-builder-vs2019-v142-x64.Dockerfile +++ b/.ci/docker/uhd-builder-vs2019-v142-x64.Dockerfile @@ -24,10 +24,10 @@ RUN choco install -y python3 --version=3.7.9 RUN pip install mako requests numpy ruamel.yaml
RUN powershell -NoProfile -ExecutionPolicy Bypass -Command \
- Invoke-WebRequest "https://aka.ms/vs/16/release/vs_community.exe" \
- -OutFile "%TEMP%\vs_community.exe" -UseBasicParsing
-RUN "%TEMP%\vs_community.exe" --quiet --wait --norestart --noUpdateInstaller \
- --add Microsoft.VisualStudio.Workload.NativeDesktop \
+ Invoke-WebRequest "https://aka.ms/vs/16/release/vs_buildtools.exe" \
+ -OutFile "%TEMP%\vs_buildtools.exe" -UseBasicParsing
+RUN "%TEMP%\vs_buildtools.exe" --quiet --wait --norestart --noUpdateInstaller \
+ --add Microsoft.VisualStudio.Workload.VCTools \
--includeRecommended
RUN setx VCPKG_INSTALL_DIR "c:\\vcpkg" /m
|