diff options
author | Emma Foley <efoley@redhat.com> | 2021-05-31 19:45:04 +0100 |
---|---|---|
committer | Emma Foley <efoley@redhat.com> | 2021-07-05 12:54:16 +0100 |
commit | 7a731e7183eec2a242f28e6686ffe41250b8e5d6 (patch) | |
tree | 221890713f2aad2c77cfb0f73e0c7d181b65cb99 /docker/ansible/roles/config_files/tasks | |
parent | 9517cbdae0f9e7e6e6446bbc5b7ad8ae6a235de8 (diff) |
[docker][experimental] Split the build
Split the container build into two stages:
* builder
Builds collectd and containers all the build artifacts
* final
Containers collectd binary and all the dependencies needed to run.
Does not contain build artifacts, which contribute to a very large
container size.
The main advantage is that the final container is much smaller (~700MB vs
1.2GB).
Change-Id: Ia75734096233b7ecab9d81df06084c24bde2bf90
Signed-off-by: Emma Foley <efoley@redhat.com>
Diffstat (limited to 'docker/ansible/roles/config_files/tasks')
0 files changed, 0 insertions, 0 deletions