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
I am attempting to build a windows nano server container for development inside of. Nano server is an ultra striped down windows container. It only supports 64 bit executables and does not come with powershell or any version of .NET by default.
I can clone a public github repo. I have gotten github credential manager.exe to run inside it. I would like you to publish a self contained 64 bit executable on the release page so I can grab this during container builds. Building one just works with the following commands:
Then you can just copy it in a COPY stage or use docker cp on a stopped container. Unfortunately you need to stop a windows container for docker cp to work.
The exe this builds works:
I was also able to login with a device login using git-credential-manager github login --no-ui. However, attempting to clone a private repo returns fatal: could not read Username for 'https://github.com': No such file or directory. Its possible this is because I am using minigit. I can investigate that some more.
The point is, a 64 bit executable is necessary for this use case, and building one just works. I can look into modifying the CI/CD chain to add this to releases and submit a PR if this is agreeable.
The text was updated successfully, but these errors were encountered:
Feature description
I am attempting to build a windows nano server container for development inside of. Nano server is an ultra striped down windows container. It only supports 64 bit executables and does not come with powershell or any version of .NET by default.
I can clone a public github repo. I have gotten github credential manager.exe to run inside it. I would like you to publish a self contained 64 bit executable on the release page so I can grab this during container builds. Building one just works with the following commands:
Then you can just copy it in a COPY stage or use
docker cp
on a stopped container. Unfortunately you need to stop a windows container fordocker cp
to work.The exe this builds works:
I was also able to login with a device login using
git-credential-manager github login --no-ui
. However, attempting to clone a private repo returnsfatal: could not read Username for 'https://github.com': No such file or directory
. Its possible this is because I am using minigit. I can investigate that some more.The point is, a 64 bit executable is necessary for this use case, and building one just works. I can look into modifying the CI/CD chain to add this to releases and submit a PR if this is agreeable.
The text was updated successfully, but these errors were encountered: