On Tue, 8 Jul, 2014 at 11:53 AM, Anders Logg <[email protected]> wrote:
gOn Tue, Jul 08, 2014 at 12:29:17PM +0200, Jack HALE wrote:
Hi Larry!
Thanks for this, it's really great! Actually Garth and I had exactly
the same idea and we have begun development on a branch here:
https://bitbucket.org/garth-wells/fenics-virtual/src/8f25457e2be23b74d29dbdd97aa292d6af7df082/?at=vagrant-docker
We are supporting vagrant with both virtualbox and docker providers.
Perhaps we could join efforts at this point? I think we are perhaps
a
little ahead on the vagrant/virtualbox approach, whilst you seem to
have the manual source builds sorted. Also our docs are more
detailed.
Together I think we could work towards a really complete approach.
What I think would be good:
We could use the docker.io 'trusted build' facilities to generate
the
docker images from a Dockerfile hosted on a repository in bitbucket.
Then the images would automatically appear on docker.io. Three
images
might be suitable:
1) FEniCS stable from Ubuntu PPA.
2) FEniCS nightly built using Dorsal.
3) FEniCS stable built using Dorsal.
Then the Vagrant script will pull the correct image based on an
environment variable (see my example).
Also I have had great success using
https://github.com/phusion/baseimage-docker as the base image for
docker. Could we standardise on this base-image? It has many
advantages over the default ubunty base image in that it acts more
like a 'proper' ubuntu system with init etc.
Long-term after sufficient testing we make vagrant the official way
of
installing FEniCS on all non-Ubuntu platforms.
Agree on this. Great to see both efforts in this direction.
I would suggest at this point moving everything to a new official
fenics-project repo. No need to wait to make this the official
installation method. The installation seems to work fine and by
promoting it to the official installation method, you will get better
and faster user feedback. I would guess it is already more foolproof
than Dorsal and it will contribute to removing a large percentage of
installation issues/questions.
I think it's the way to go, but we need a bit more time for testing,
and we need a polished, Dorsal-like build script that targets the
current Ubuntu release. I'd also like to see some performance numbers
for running FEniCS inside a Linux container (Docker) before making it
'official'.
Garth
--
Anders
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics