/data/superset
├── 3.x-build.sh – docker build 命令脚本
├── 3.x-run.sh – docker run 命令脚本
├── src – superset 文件
│ ├── . . .(省略)
│ ├── docker
│ ├── docker-compose-non-dev.yml
│ ├── docker-compose.yml
│ ├── Dockerfile
│ ├── dockerize.Dockerfile
│ ├── . . .(省略)│ ├── superset
│ ├── superset-embedded-sdk
│ ├── superset-frontend
│ ├── superset_text.yml
│ ├── superset-websocket
│ ├── tests
│ ├── tox.ini
│ └── UPDATING.md
├── tmp – 临时文件
└── config – 本地配置文件,会覆盖docker/pythonpath_dev
| ├── 3.x-Dockerfile
| ├── 3.x-superset_config_docker.py
| ├── sources.list – 此文件忽略
git clone https://github.com/apache/superset.git
下载的superset,根目录重命名src
mv superset src
#!/bin/bash
TAG=3.0.0rc3
git checkout $TAG
docker build -f ../config/3.x-Dockerfile -t superset-test:$TAG .
#!/bin/bash
TAG=3.0.0rc3
cp ../config/3.x-superset_config_docker.py ./docker/pythonpath_dev/superset_config_docker.py
docker run -d \
-p 18080:8088 \
--env-file=./docker/.env \
-v ./docker:/app/docker \
--name superset-test \
superset-test:$TAG
docker logs -f superset-test
#
# Licensed to the Apache Software Foundation (ASF) under one o