[infinispan-issues] [JBoss JIRA] (ISPN-10350) Reduce operator product image size
Galder Zamarreño (Jira)
issues at jboss.org
Tue Jun 25 07:51:00 EDT 2019
Galder Zamarreño created ISPN-10350:
---------------------------------------
Summary: Reduce operator product image size
Key: ISPN-10350
URL: https://issues.jboss.org/browse/ISPN-10350
Project: Infinispan
Issue Type: Task
Components: Operator
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
So far with the work of JDG-2976, the operator product image is around ~350mb.
The reason this is so big is cos the image where the operator lives when the operator is built is the same image that builds the operator itself. There's a couple of reasons that would explain the big size: base image and leftover from build.
The base image right now is the standard UBI image. I tried to use UBI-minimal, but the tooling available there is not as advanced (e.g. yum vs microdnf), and as a result of that, after building the operator you're not able to do cleanup in the same way (microdnf does not have autoremove option). Without digging into the details, the resulting image with UBI minimal was ~700mb.
So, the aim of this JIRA is to reduce the image to only have the bare minimal plus the operator binary. This is not urgent but needs some deeper understanding.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the infinispan-issues
mailing list