Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Added new target that allows one to export the static library file to…
Browse files Browse the repository at this point in the history
… the host after compiling it
  • Loading branch information
MintoDA1 authored and MintoDA1 committed Aug 4, 2023
1 parent 023c420 commit f42c2da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ ENTRYPOINT ["/usr/local/bin/swiftest_driver"]
FROM scratch AS export_driver
COPY --from=build_driver /usr/local/bin/swiftest_driver /

# This build target exports the static library to the host
FROM scratch as export_library
COPY --from=build_driver /usr/local/lib/libswiftest.a /

# 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
Expand Down

0 comments on commit f42c2da

Please sign in to comment.