LiamBindle / geos-chem-build-matrix

0 stars 0 forks source link

Use Spack to install libraries inside Docker container #1

Open JiaweiZhuang opened 5 years ago

JiaweiZhuang commented 5 years ago

I saw that libraries are built manually from source:

https://github.com/LiamBindle/geos-chem-build-matrix/blob/d416011e08d54c8558c7baa11ba68e3f63834e52/Dockerfile#L46-L54

Using Spack would make the script shorter and easier to maintain. For reference, see https://github.com/JiaweiZhuang/docker_gchp/blob/v0.1.0/spack_gcc_mpi/Dockerfile

LiamBindle commented 5 years ago

I agree. This will be a good next step. Today I was mainly trying to work out the technical details so I decided to stick with what I already had (I took this dockerfile from an old project I had). Lets pick this back up in a few weeks.