Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ioc: copy locally installed software from build stages.
Software, other than shared libraries, may be built in the first stages, but are currently not available in the resulting IOC image. Copy the entire `/usr/local` tree in all IOC stages, so that locally installed binaries and configuration can be usable at runtime. This allows us to build custom versions of applications during build phases and install them at IOC images, centralizing and making it easier to track how they are built. In addition, IOCs can also install custom files which will be available at runtime in a known location. Still, IOCs themselves can also be installed in FHS-compliant paths [1] inside the container as any other packaged software, allowing them to make use of tools based on system-installed artifacts (such as `env` executable discovery). [1]: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html
- Loading branch information