You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/02/06 02:25:26 UTC

(superset) branch master updated: docs: add a note about database drivers in Docker builds (#27020)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new e792460baf docs: add a note about database drivers in Docker builds (#27020)
e792460baf is described below

commit e792460baf351aec7f7e95a73ae3f9202a422c3c
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Mon Feb 5 18:25:19 2024 -0800

    docs: add a note about database drivers in Docker builds (#27020)
---
 docs/docs/installation/docker.mdx | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs/docs/installation/docker.mdx b/docs/docs/installation/docker.mdx
index fc6ca04123..684ad693db 100644
--- a/docs/docs/installation/docker.mdx
+++ b/docs/docs/installation/docker.mdx
@@ -50,6 +50,17 @@ GitHub action.
 
 To accelerate builds, we follow Docker best practices and use `apache/superset-cache`.
 
+## About database drivers
+
+Our docker images come with little to zero database driver support since
+each envrionment requires different drivers, and mataining a build with
+wide database support would be both challenging (dozens of databases,
+python drivers, and os dependencies) and inefficient (longer
+build times, larger images, lower layer cache hit rate, ...).
+
+For production use cases, we recommend that you derive our `lean` image(s) and
+add database support for the database you need.
+
 ## On ARM builds and working with Apple silicon
 
 Apple's current generation of computers uses ARM-based CPUs, and Docker