Wrong user in docker file start.sh / changing user via environment variable not possible

Issue #1280 resolved
Michael Brennecke created an issue

In line 183 of start.sh the line states:

su -c "indexer --all --config ${SPHINX_CONF}" piler

but if i understand this correctly it should be

su -c "indexer --all --config ${SPHINX_CONF}" ${PILER_USER}

I think because of this it is not possible to run piler via docker with another user.

Comments (3)

  1. Janos SUTO repo owner

    I’ve just made a fix. But I’m curious why do you want to use another user in a container?

  2. Michael Brennecke Account Deactivated reporter

    @Janos SUTO Had some issues with docker volumes on a cifs share and was experimenting with it. Got it resolved with docker mount options.

  3. Log in to comment