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
But the resulting image doesn't seem to have the CLI installed, or the log file from the installer
PS C:\> docker run --rm -it --entrypoint powershell code-sign:initial
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\> dir C:\
Directory: C:\
Mode LastWriteTime Length Name
---------------------------
d-r---10/8/20245:57 PM Program Files
d-----10/8/20246:03 PM Program Files (x86)
d-r---10/4/20249:52 PM Users
d-----10/8/20245:49 PM Windows
-a----9/6/20241:02 AM 5647 License.txt
PS C:\> dir 'C:\Program Files\'
Directory: C:\Program Files
Mode LastWriteTime Length Name
---------------------------
d-----9/15/20187:21 AM common files
d-----10/8/20245:57 PM dotnet
d-----10/8/20245:57 PM IIS
d-----9/15/20187:12 AM internet explorer
d-----10/8/20245:55 PM NuGet
d-----9/15/20187:12 AM WindowsPowerShell
But if I run the same commands from the dockerfile to manually download and run the MSI installer inside a container and wait a few minutes then it works.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to build a custom image with the CLI installed and there is an issue with installing the MSI. My Docker host is on Windows Server 2019.
I think it's not really waiting for the install to complete. The build output looks ok
But the resulting image doesn't seem to have the CLI installed, or the log file from the installer
But if I run the same commands from the dockerfile to manually download and run the MSI installer inside a container and wait a few minutes then it works.
Beta Was this translation helpful? Give feedback.
All reactions