From cb3f621ce7896904bc5d9a5b26b6763178fde52c Mon Sep 17 00:00:00 2001 From: MintoDA1 <51412913+MintoDA1@users.noreply.github.com> Date: Fri, 4 Aug 2023 17:04:10 -0400 Subject: [PATCH] Added new build target for exporting swiftest.mod --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index e390ae5ef..76d82cda9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -134,6 +134,11 @@ COPY --from=build_driver /usr/local/bin/swiftest_driver / FROM scratch as export_library COPY --from=build_driver /usr/local/lib/libswiftest.a / +# This build target exports the module file to the host +FROM scratch as export_module +COPY --from=build_driver /usr/local/include/swiftest.mod / + + # This build target creates a container with a conda environment with all dependencies needed to run the Python front end and # analysis tools FROM continuumio/miniconda3 as python