kopytjuk commented on issue #9748: URL: https://github.com/apache/superset/issues/9748#issuecomment-1120445508
An ugly (but working) hack for those who want to alter the Docker image: ``` FROM apache/superset # Switching to root to install the required packages USER root # allow sqlite RUN echo "PREVENT_UNSAFE_DB_CONNECTIONS = False" >> /app/superset/config.py # Switching back to using the `superset` user USER superset ``` This only works, because config.py defines the variables on the global level, so the last variable definition wins :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
