lofar-astron / lofar-deploy

LOFAR software stack deployment scripts and Dockerfiles for R&D purposes
GNU General Public License v3.0
6 stars 5 forks source link

Set up environment after script and within docker #16

Open tammojan opened 9 years ago

tammojan commented 9 years ago

Would be a good service to have all the PATH, LD_LIBRARY_PATH and PYTHONPATH setup correctly in the docker. In the script, perhaps (another) init script needs to be generated that performs this.

ygrange commented 9 years ago

Isn't that taken care of by the lofarinit.sh script?

tammojan commented 9 years ago

Lofarinit.sh only sets the paths for the lofar software. It does not set the python path for python-casacore, nor the LD_LIBRARY_PATH for casacore (nor the bin path for casarest, casacore, wcslib, etc).

ygrange commented 9 years ago

First version committed. @tammojan Do you have a list of paths I would ideally add to the LD_LIBRARY_PATH, PYTHONPATH, PATH variables? Would that essentially be all bin, lib and python2.7 directories? See commit cc56462