[Docker] scanning requires mayan being added to the root group on each update
at the moment, on each update, I am having to run the following command:
usermod -a -G root mayan
inside the mayan-edms container so that the mayan user has rights to be able to use the scanner (not ideal to run mayan as someone with root privileges, I know).
I was wondering if either:
a. it would be possible to add mayan to the correct groups within the docker container by default
b. it is possible to run a command on each container startup, I know that it is possible to install APTs automatically, but is it possible to to run a command within the container on startup?
I thought about editing entrypoint.sh, but then this would be overwritten on the next container update.
Edited by Kevin Pawsey