The dbt-native data observability solution for data & analytics engineers. Monitor your data pipelines in minutes. Available as self-hosted or cloud service with premium features.
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.
Is your feature request related to a problem? Please describe. Currently, the Docker image installs
elementary-data
under theroot
user. This means that the Python package is installed tosite-packages
with a file hierarchy that is owned byroot
. 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 instancelogs/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.
ELE-188