Dale Richardson created METRON-2246:
---------------------------------------
Summary: rpm-docker: minimise use of bind mounts due to performance
Key: METRON-2246
URL: https://issues.apache.org/jira/browse/METRON-2246
Project: Metron
Issue Type: Improvement
Reporter: Dale Richardson
Docker bind mounts on MacOS have a reputation for being extremely slow. The
rpm-docker module uses bind mounts to share out the rpm-docker project
directory to the RPM creation docker image, which then uses it as a workspace
when creating the METRON RPMS, and means of pushing the resulting RPM's back to
the hosting build box.
Bind mounts remain the most convenient way of bulk file export from a docker
image, but the processes can be sped up by building the rpm-docker image with
the input file already included, so that any file I/O by the rpm building
process in its workspace does not suffer a performance penalty.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)