-
Notifications
You must be signed in to change notification settings - Fork 6.6k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: make vcpkg embeddable in docker image. #645
Comments
We have not documented this sufficiently, but you can automatically accept all prompts by creating a file inside Let us know if you have any other issues; being usable in a docker container is definitely a goal! |
there is 2 issues : one is that msbuild complain about missing sdk 10.0.240.0 (although it's installed as part of vs build tool 2015) when executing bootstrap.ps1 . It looks like it's a recent regression, a9f7fc6 worked. Second one is that the Expand-ZIPFile function doesn't work when installing port, Something related to a nullptr. I will provide more information later when I'm getting acccess to my win 10 pro machine back |
Yes, I can confirm that with master the sdk is properly detected and vcpkg properly build. |
With the following dockerfile (which embeds both msbuild and vcpkg docker img from dicta config files) : I have the following error : |
It still doesn't work : |
FWIW, I ran into This suggestion above worked for me:
Thanks! |
+1 to this! |
I know this is not really the right place for this, but: Has anyone successfully bootstrapped vcpkg and built some ports in a Windows Docker container? If so, would they be kind enough to share their Dockerfile? The original issue that this issue is actually about has been resolved (there's a switch to turn off the prompt) - is there some other problem preventing vcpkg running in Docker? |
I tried and failed. I run into this issue with any package I try to install inside a docker windows image: moby/moby#40266 |
@arthur-tacca did you managed to do it? I am trying to figure out a minimal here #14883 but I have a bigger non-minimal there. |
Now that #14883 is fixed is this still an issue? |
I can run in docker linux with this dockerfile: https://github.com/badpaybad/cmakes-helloworld/blob/main/Dockerfile |
You can delete |
Since we don't have docs for this, convert it to discussion. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Currently vcpkg is not automatable : it prompts user before downloading various package like cmake or git and I didn't find a cli argument to always assume "yes". On the other hand docker image building process doesn't allow for user input which makes vcpkg installation impossible in a docker image as part of a "docker build" command.
I'm interested in having a docker image (based on windowsservercore) filled with various build tools to test build instruction from an almost vanilla dev installation.
The text was updated successfully, but these errors were encountered: