This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Install git in FEniCS' Docker image

0 votes

I'm testing the Docker images you created (https://bitbucket.org/fenics-project/docker/overview). And I think I understand better all the hype about Docker now. Very interesting!

But one question: How would I get my project inside that Docker image? I could scp from my local machine, but I was thinking it'd make more sense to use git. Unfortunately I couldn't find it via apt-get.

Would it be possible for you to add it to the Docker image? Or would there be a simpler way to get one's project into the Docker image?

Thanks!

asked Dec 18, 2015 by BC FEniCS Novice (790 points)

1 Answer

0 votes
 
Best answer

You will find git is installed in the "dev-env" image.
But it should be possible with apt-get in any image. Pribably you need to apt-get update first to generate the database cache.

answered Dec 18, 2015 by chris_richardson FEniCS Expert (31,740 points)
selected Dec 21, 2015 by BC

Yes, that worked (apt-get update). Thanks.

...