openfast
openfast copied to clipboard
Feature request: Add libdiscon library to official docker image
Is your feature request related to a problem? Please describe.
We'd like to add the ROSCO libdiscon.so library to the official docker at build time (i.e. when a new version is released).
Describe the solution you'd like
The latest, for example, 3 minor versions would be available in the /lib/rosco directory in the built image eg.:
rosco_2.9.0_libdiscon.sorosco_2.8.0_libdiscon.sorosco_2.7.0_libdiscon.so
Periodically, the build matrix in the GitHub workflow can be updated to include updated versions of ROSCO.
These can then be pointed to in the servodyn file.
Describe alternatives you've considered
We're currently building and copying the library into our openfast container at runtime:
apt-get update
apt-get install python3-pip git cmake ninja-build gfortran
git clone https://github.com/NREL/[email protected]
cd ROSCO/
pip install -e .
cp /ROSCO/rosco/lib/libdiscon.so /lib/rosco/rosco_2.9.0_libdiscon.so