You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/05/08 16:10:48 UTC

[GitHub] [superset] kopytjuk commented on issue #9748: Unable to add a SQLite DB

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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org