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

missing headers in /usr/include/gnu/? #16

Open greyxray opened 7 years ago

greyxray commented 7 years ago

Thank you for this great collection of dockerfiles! This is very helpful! I am using this to set-up some automated tests on travis-ci, but I noticed that there are some headers missing (stubs-32.h and stubs-64.h). I think I have solved the problem by executing yum -y install glibc-devel.i686 glibc-devel but maybe it can also be fixed centralised? If this is an issue at all... I am using the hepsw/cvmfs-cms image.

sbinet commented 7 years ago

thanks for the heads up.

I guess it would make sense to add this directly inside the hepsw/cvmfs-base image. hint: PRs greatfuly accepted :)

greyxray commented 7 years ago

I will make a PR after I test that everything is actually working for me... Do I understand it right that one needs also to install the gcc compiler separately if one would need it?

I have also a question concerning running of the docker image with additional options. If I try to bind a local volume to the container with option -v: docker run -h dev --privileged --volume /Users/greyxray/docker/Kappa_repo:/root/ -i -t hepsw/cvmfs-cms the initialization goes differently, for example /usr/bin/cubied is not sourced automatically and the dot-bashrc is not added into $HOME/.bashrc . Is it a usual docke-behaviour and one actually needs to change the Dockerfile and create a separate image to overcome this?

sbinet commented 7 years ago

it may actually be another variant of hepsw/docks#18