You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using docker desktop 2.1.0.3 (38240) engine 19.03.2
I can not seem to get the install to happen in C:\BuildTools, I trimmed down the Dockerfile to:
# escape=`
# Let us use PowerShell line continuation.
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8
# Restore the default Windows shell for correct batch processing.
SHELL ["cmd", "/S", "/C"]
# Download the Visual Studio Build Tools bootstrapper.
ADD https://aka.ms/vs/16/release/vs_buildtools.exe C:\Temp\vs_buildtools.exe
# Use the latest release channel.
ADD https://aka.ms/vs/16/release/channel C:\Temp\VisualStudio.chman
# For help on command-line syntax:
# https://docs.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio
# Install MSVC C++ compiler, CMake, and MSBuild.
RUN C:\Temp\vs_buildtools.exe `
--quiet --wait --norestart --nocache `
--installPath C:\BuildTools `
--channelUri C:\Temp\VisualStudio.chman `
--installChannelUri C:\Temp\VisualStudio.chman `
--add Microsoft.VisualStudio.Workload.VCTools;includeRecommended `
--add Microsoft.Component.MSBuild `
|| IF "%ERRORLEVEL%"=="3010" EXIT 0
When I run this I see: (notice I did increase memory to 3Gb)
No obvious sign of failure ... but no install details either.
So I run the image:
docker run -it buildtools2017
Microsoft Windows [Version 10.0.17763.737]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\>dir
Volume in drive C has no label.
Volume Serial Number is 2804-324F
Directory of C:\
10/02/2019 07:56 AM 5,510 License.txt
09/10/2019 05:43 PM <DIR> Program Files
09/10/2019 05:54 PM <DIR> Program Files (x86)
10/02/2019 07:48 AM <DIR> Temp
09/09/2019 04:05 PM <DIR> Users
09/10/2019 05:22 PM <DIR> Windows
1 File(s) 5,510 bytes
5 Dir(s) 21,221,007,360 bytes free
Notice there is no c:\BuildTools so nothing in the Docker file works after this.
Wondering what the docker build print out should look like.
Thanks and Regards
Carl
The text was updated successfully, but these errors were encountered:
Using docker desktop 2.1.0.3 (38240) engine 19.03.2
I can not seem to get the install to happen in C:\BuildTools, I trimmed down the Dockerfile to:
When I run this I see: (notice I did increase memory to 3Gb)
No obvious sign of failure ... but no install details either.
So I run the image:
Notice there is no c:\BuildTools so nothing in the Docker file works after this.
Wondering what the docker build print out should look like.
Thanks and Regards
Carl
The text was updated successfully, but these errors were encountered: