PawseySC / pawsey-containers

A collection of Dockerfiles and Singularity deffiles for Pawsey-supported images
15 stars 11 forks source link

Failed to build docker - kernel version not available. #17

Open julesghub opened 1 year ago

julesghub commented 1 year ago

Hi @pelahi I'm testing this mpi-io enabled images. When I tried to build a docker locally it failed because the $(uname -r) is unavailable for the base image. https://github.com/PawseySC/pawsey-containers/blob/45c5f8983ac8e8d691a1f26462096308b33b4d37/mpi/lustrempich-base/buildlustrempich.dockerfile#L69

Can you suggest a workaround? Would it be ok to remove the $(uname -r) and try generic?

Thanks