[ELE-188] Docker image requires `root` in order to run `edr`.
Is your feature request related to a problem? Please describe.
Currently, the Docker image installs elementary-data under the root user.
This means that the Python package is installed to site-packages with a file hierarchy that is owned by root.
Whenever a container of the image is run with a lower-privileged user, it'll error because it'll attempt to write files to the internal dbt project within the package, for instance logs/dbt.log.
Describe the solution you'd like
The Docker image should support running with a lower-privileged user.
It could either be by building the image with a non-root user, or changing the package's tree to +rwx.
We should consider if maybe there's a better solution, haven't fully thought this through at the moment.
Additional context Here's the Slack thread.
This is not actively worked on correct? Unfortunately I cannot contribute in this area
This image is not yet resolved because edr still installs the dbt_packages under site-packages which is owned by root.