The explorer docker images (nuxeo images + explorer package) weighs 2.5G+ more than the base docker image.
Looking at layers, the following command (performed when adding packages) is the one responsible:
When in install-packages.sh
When in Dockerfile (moved from install-packages for "optim" when several installs are done in a row:
--> check if this line is really needed after installing packages, maybe remove it completely in the explorer use cases (build and export)
Note: this seems to be needed when using Kaniko: this ensures being able to run the docker image as a non-root user.
Symptoms on 10.10 build (using a 10.10 hotfixed image): push of the docker image fails with an error from nexus (size limit issue – did not keep the output), nxginx proxy shows: