The goal is to not rely on the docker-entrypoint.sh file to configure Nuxeo and install Nuxeo packages but on a specific script whose work is to handle Nuxeo packages installation at build time.
There is already a script (install-packages.sh) in the final Docker image, but it's to install packages without Connect. This script needs to be reworked to allow the installation of Nuxeo packages from Connect.
Usage would be:
The script will take care of cleaning the created CLID and the nuxeo.conf modification from the image after the packages are installed.
When building a new Docker image from the nuxeo/nuxeo:11.x, the script could be used as: