Right now, there are common use cases that call for running a chain of execs that have multiple mounts in static locations. For example, in yarn we want to run a series of yarn commands with the base image plus source code mounted at /src.
Right now, because you can only obtain one mount at a time, you can't really use chaining very well. This could be fixed by adding a resolver to Exec that obtains a type like Filesystems (note the plural), which has the same interface as Filesystem but will run any execs using multiple mounts (specifically, the output of each mount from the previous step).
Right now, there are common use cases that call for running a chain of execs that have multiple mounts in static locations. For example, in
yarnwe want to run a series of yarn commands with the base image plus source code mounted at/src.Right now, because you can only obtain one mount at a time, you can't really use chaining very well. This could be fixed by adding a resolver to
Execthat obtains a type likeFilesystems(note the plural), which has the same interface asFilesystembut will run any execs using multiple mounts (specifically, the output of each mount from the previous step).