devel: update singularity def for netcdf and libdl
This commit is contained in:
@@ -36,11 +36,16 @@ Stage: runtime
|
||||
|
||||
%post
|
||||
apt update \
|
||||
&& apt install -y libnetcdf-dev
|
||||
&& apt install -y libnetcdf19
|
||||
|
||||
apt autoremove -y \
|
||||
&& apt clean -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
cp -s /usr/lib/x86_64-linux-gnu/libdl.so.2 /usr/lib/x86_64-linux-gnu/libdl.so
|
||||
cp /usr/lib/x86_64-linux-gnu/libnetcdf.so.19 /usr/lib/libnetcdf.so
|
||||
|
||||
%environment
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu
|
||||
|
||||
%runscript
|
||||
exec /app/Excavator "$@"
|
||||
Reference in New Issue
Block a user