Skip to content
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

Building cmake image hangs #12

Open
fkorotkov opened this issue Aug 27, 2020 · 4 comments
Open

Building cmake image hangs #12

fkorotkov opened this issue Aug 27, 2020 · 4 comments

Comments

@fkorotkov
Copy link
Contributor

Building image via cmake Dockerfile just hangs on the latest windows-server-2019-dc-core-for-containers-v20200813 image VM on GCP.

It seems the docker build finishes all steps and just hangs. See this output https://cirrus-ci.com/task/5989635299999744?command=build_cmake#L530

@ferventcoder
Copy link

Any idea how long that refreshenv bit takes? I see it mentions timeout, but following the script, refreshenv is the last thing that is called, which completes. I'm guessing it completes and then just sits there until it times out.

Might be a good idea to move refreshenv off to its own line or take it out if you are not going to do any further commands afterwards. When you next start a session with the docker image, everything should be refreshed with the new shell.

@fkorotkov
Copy link
Contributor Author

Yeah, I added the refreshenv to make sure choco insall completes but I have no idea what happens after. It does seem like Docker just hangs preparing the layer or something else. I wonder how the choco install could cause such behaviour

@ferventcoder
Copy link

I'd add one additional command after, something simple like a ping. See if it times out after that.

And still remove the refreshenv. 😀

@ericoporto
Copy link

Can we have an updated version with CMake?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants