This directory contains a custom Docker image for Apache Superset that includes all necessary dependencies pre-installed, eliminating the need to download them on each startup.
This is a drop-in replacement for Apache Superset 4.0.2 used in Serra Vine.
-
Based on Apache Superset 4.0.2
-
Pre-installed custom Python dependencies:
trino- Trino database connectorsqlalchemy_dremio- Dremio database connectorsqlalchemy-firebird- Firebird database connectorfdb- Firebird database driverprometheus-flask-exporter- Prometheus metrics exporterpyodbc- ODBC database connectivitypymssql- Microsoft SQL Server connectivityauthlib,flask-oidc,flask-openid- OAuth2/OIDC authentication for Authelia integration
-
Pre-installed system dependencies:
libfbclient2- Firebird client libraryfirebird-utils- Firebird utilities
Dockerfile- Custom Docker image definitionrequirements-local.txt- Python dependencies to installdocker/- Custom Docker scripts (modified to skip runtime dependency installation)build.sh- Build script for the Docker image
-
Make the build script executable:
chmod +x build.sh
-
Build the image:
./build.sh
Or with a version tag:
./build.sh v1.0.0
-
Pull the image:
docker pull ghcr.io/serraict/vine-superset:latest
-
Copy your
.envfile from the original superset directory to this directory. -
Start the services:
docker-compose up -d
- Faster startup times - Dependencies are installed during image build, not at runtime
- Reduced network usage - No downloads during container startup
- More reliable deployments - Dependencies are baked into the image
- Consistent environments - Same dependency versions across all deployments
To migrate from the original setup:
- Build this custom image
- Update your existing docker-compose file to use
ghcr.io/serraict/vine-superset:latestinstead ofapache/superset:4.0.2
For production use:
- Build and tag the image with a specific version
- Push to your container registry
- Update the docker-compose file to use your registry image
- Deploy using your orchestration platform (Docker Swarm, Kubernetes, etc.)
- ⏳ update to superset v5.0.0
- add reporting tools to default image