devel: update singularity def for netcdf and libdl

This commit is contained in:
2025-03-06 16:29:12 +01:00
parent a22db7f9e0
commit c344555fbc

View File

@@ -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 "$@"