hepsw / docks

a set of Dockerfiles defining docker containers for HEP software and appliances.
BSD 3-Clause "New" or "Revised" License
17 stars 13 forks source link

including dockerfiles for MCnet tools? #13

Open lukasheinrich opened 8 years ago

lukasheinrich commented 8 years ago

Hi again,

would you like to build this into a general repository for HEP software tools? I have a couple of Dockerfiles for MCNet tools like Sherpa/Herwig/Madgraph/Rivet and other things like ROOT etc and I'd be happy to contribute.

Cheers, Lukas

sbinet commented 8 years ago

sure, send them in. or, rather, PR-them in :)

lukasheinrich commented 8 years ago

Hi,

so I have this repo:

https://github.com/lukasheinrich/hepsw-docker

would you like to follow a specific scheme on the dockerfiles?

sbinet commented 8 years ago

looks good.

what do you mean by "follow[ing] a specific scheme on the dockerfiles" ?

lukasheinrich commented 8 years ago

yeah possibly any of those. the existing one seem to come with a Dockerfile + a Makefile to do build and push. Also maybe could be a good idea to try to systematically build base layers. E.g I did try to use the slc-dev image for some stuff, but needed to compile gcc4.9 on top.

we can also just let it be free-form, just wanted to ask before I start putting in PRs. At least a naming scheme of directories sounds reasonable

sbinet commented 8 years ago

ok. let's start with indeed a Dockerfile + Makefile to streamline the build+upload process.

as for the layout of the directories holding these Dockerfiles, I would just start relatively flat (except if you want to put the mcnet related tools under, say, mctools or something.) we can still git mv stuff around.

for the sources being installed inside the container (if any), I would put them under /opt/hepsw/<some-name> and install the binaries+headers under /usr/{include,lib,bin}