From 64be369af017b8fbf3a3f050981a96c4b7d125fb Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin <maximebeauchemin@gmail.com> Date: Mon, 5 Feb 2024 11:24:08 -0800 Subject: [PATCH 1/2] docs: add a note about database drivers in Docker builds --- 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 fc6ca041235d5..89cd1f9476d61 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 unefficient (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 From 1e2b7cae0c47ba99dfcb88d58e1257248fd0e410 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin <maximebeauchemin@gmail.com> Date: Mon, 5 Feb 2024 16:35:42 -0800 Subject: [PATCH 2/2] typo --- docs/docs/installation/docker.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/installation/docker.mdx b/docs/docs/installation/docker.mdx index 89cd1f9476d61..684ad693dbf4d 100644 --- a/docs/docs/installation/docker.mdx +++ b/docs/docs/installation/docker.mdx @@ -55,7 +55,7 @@ To accelerate builds, we follow Docker best practices and use `apache/superset-c 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 unefficient (longer +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