-
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
Hi @vsoch - cool project! You might consider using multi-stage builds to reduce the image size. Basically, you install all the compile-time dependencies and build singularity in the first stage, and copy the artifacts and install run-time dependencies in the second stage.
I do this, for example, in this Dockerfile.
This does, however, remove the source code and other potentially useful build artifacts. If those are useful to this project, then I would advise against multi-stage builds.
Metadata
Metadata
Assignees
Labels
No labels