cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo 10.10 docker image

Eric_Ace
Confirmed Champ
Confirmed Champ

Nuxeo folks:

In docker-entrypoint.sh you have:

for f in /docker-entrypoint-initnuxeo.d/*; do
  case "$f" in
    *.sh)  echo "$0: running $f"; . "$f" ;;
    *.zip) echo "$0: installing Nuxeo package $f"; nuxeoctl mp-install $f ${NUXEO_MPINSTALL_OPTIONS} --accept=true ;;
    *.clid) echo "$0: copying clid to $NUXEO_DATA"; cp $f $NUXEO_DATA/ ;;
    *)     echo "$0: ignoring $f" ;;
  esac
done

This supports only one level in that directory. In instead, you had this:

for f in $(find /docker-entrypoint-initnuxeo.d -type f); do
  (everything else the same as above)
done

Then it would be possible to mount marketplace ZIPs into a sub-directory from a persistent volume which would more easily support installing packages in disconnected mode, and wouldn't have contention with a nuxeo.conf placed in that directory as well - say from a ConfigMap.

2 REPLIES 2

Florent_Guillau
World-Class Innovator
World-Class Innovator

Here is a better way to write this

Eric_Ace
Confirmed Champ
Confirmed Champ

Please consider https