Singularity: Multistage Builds

Created on 4 Jan 2019  路  2Comments  路  Source: hpcng/singularity

This will involve allowing multiple bootstrap headers to exist within a single definition file. Each header and subsequent sections generate a bundle with contents that we can copy to a later stage during the build process.

This will require adding information to definitions to identify stages and copy files from them. Currently considering adding:

  • Stage: <stageName> to identify each stage in its header
  • %files from <stageName> section to copy files from specific stage to current container

Most helpful comment

Can't upvote this enough :+1: :-)

All 2 comments

Can't upvote this enough :+1: :-)

Implemented by #3156

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stefanoborini picture stefanoborini  路  3Comments

Amir-Arsalan picture Amir-Arsalan  路  3Comments

onlyjob picture onlyjob  路  5Comments

gdolle picture gdolle  路  5Comments

alalazo picture alalazo  路  3Comments