Closed Zaid-Ajaj closed 6 years ago
I'm not sure if anyone has tried using CentOS with this Docker image. I've had it working with Ubuntu previously though I'm not an active user. I believe the Azure Notebook teams build for docker on Ubuntu, you could try it there?
@cgravill I will try it on Ubunto but this is kind of irrelevant since a docker image should work on any host with docker installed.
I agree it shouldn't make a difference but I've personally only built the Docker image once, a while back and that was with Ubuntu.
Taking a look at the error it looks like a certificate error possibly with the Paket bootstrapper, which might be easily fixed. There's some more details on this here http://www.mono-project.com/docs/faq/security/#i-imported-the-root-certificate-but-it-still-doesnt-work but I'm not a regular Mono user so not in a position to offer much advice.
We'd be happy to take fixes to make the notebooks work in more places reliably.
I tried solving this in #157, it seems the correct certificates are added in the mono:5.4.0.201 image.
@frelon that looks great, I was able to build a docker image and run the F# notebook with this. The upgrade to a recent Mono install is also helpful.
Was the switch to root essential? I'm happy to go with that for now as at least it's in a working state.
@cgravill without the allow-root flag the container shutdown directly, but I'll try to change it to not use root instead...
Thanks! If it causes trouble I can merge it as-is. However, it would be good for safety in depth to avoid running as root - some people may expose this.
@cgravill No problems! Added an ifsharp-user instead in #158
Excellent, I've merged it in now. @Zaid-Ajaj could you see if it works for you as well please?
I'm going to close this as fixed, thanks @frelon
Description
Unable to build Dockerfile from sources
Repro steps
Expected behavior
Expected the build to run succesfully
Actual behavior
The build fails see the log below:
Known workarounds
None
Related information