feat(docker-compose): add TAG option (#18214)

This commit is contained in:
Ville Brofeldt
2022-01-28 15:00:15 +02:00
committed by GitHub
parent b2bfb92cc4
commit 0a91a6880a
5 changed files with 23 additions and 4 deletions

View File

@@ -64,10 +64,17 @@ Then, run the following commands:
```bash
$ docker-compose -f docker-compose-non-dev.yml pull
$ docker-compose -f docker-compose-non-dev.yml up
```
Alternatively, you can also run a specific version of Superset by first checking out
the branch/tag, and then starting `docker-compose` with the `TAG` variable.
For example, to run the 1.4.0 version, run the following commands:
```bash
$ docker-compose -f docker-compose-non-dev.yml up
% git checkout 1.4.0
$ TAG=1.4.0 docker-compose -f docker-compose-non-dev.yml pull
$ TAG=1.4.0 docker-compose -f docker-compose-non-dev.yml up
```
You should see a wall of logging output from the containers being launched on your machine. Once