nijtmans / docker-fossil

Docker image for fossil
1 stars 0 forks source link

docker scratch image #2

Open rbucker opened 9 years ago

rbucker commented 9 years ago

Is there a way to get fossil to run under a scratch image? Looking at the provided Dockerfile I see that there is quite a bit going on. Furthermore, what about using a shared volume?

nijtmans commented 9 years ago

Yes, it's possible to run fossil on a scratch image: see [http://www.richardbucker.com/2015/02/deploy-fossil-scm-in-docker-container.html]. But the method described here doesn't expose the full fossil possibilities, e.g. https support and Tcl support don't work (yet). This should be solvable, but it takes time to investigate how to do that .....

rbucker commented 9 years ago

What's really funny about that link is that I wrote it. Thank you for remembering because I didn't, Boot2docker clearly does not implement sharing host volumes and tcl is not going to work without including the tcl interpreter which would either have to be embedded into fossil or some other strategy like a shell wrapper or something around fossil. As for https; that should work as-is so long as the SSL code is in fossil, with the certs copied to the container or a shared volume, I'm not certain it's rational but putting the certs into the container will make them vulnerable.