Skip to content

Commit ef783c4

Browse files
committed
Add netcdf to the docker image
1 parent 8390bd5 commit ef783c4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.CI/testing/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ FROM docker.openmodelica.org/build-deps:ubuntu-26.04-rust
1212

1313
# rsync/ssh publish the results; time and killall are used around test.py.
1414
# libcomedi-dev libx11-dev is used by Modelica_DeviceDrivers
15+
# libnetcdf-dev is used by NcDataReader2 (AixLib, BuildingSystems): the library ships
16+
# libncDataReader2.a, whose netCDF calls are only resolvable with the -dev package.
1517
# Python 3.8 and 3.12 are used by Buildings
1618
# autoconf/automake/libtool and omniORB build the maintenance branches: master builds with cmake,
1719
# while v1.26 and v1.27 still go through `autoreconf && ./configure --with-omniORB`. The base image
@@ -21,7 +23,7 @@ RUN export DEBIAN_FRONTEND=noninteractive \
2123
&& apt-get install -qy software-properties-common \
2224
&& add-apt-repository -y ppa:deadsnakes/ppa \
2325
&& apt-get install -qy --no-install-recommends openssh-client psmisc rsync time \
24-
&& apt-get install -qy --no-install-recommends libcomedi-dev libx11-dev \
26+
&& apt-get install -qy --no-install-recommends libcomedi-dev libx11-dev libnetcdf-dev \
2527
&& apt-get install -qy --no-install-recommends autoconf automake libtool omniidl libomniorb4-dev \
2628
&& apt-get install -qy python3.8 python3.12 libpython3.8-dev libpython3.12-dev \
2729
&& apt-get clean \

0 commit comments

Comments
 (0)