docker-scripts/linux/advanced/redash/Makefile

32 lines
511 B
Makefile
Raw Normal View History

2021-10-29 15:38:05 +03:00
all: app
app:
2021-11-01 18:29:55 +03:00
make sync
make patch
make build
make push
make clean
sync:
2021-11-01 19:09:36 +03:00
rm -rfv redash-repo
2021-10-29 15:38:05 +03:00
git submodule init
git submodule update --init --recursive
git submodule sync --recursive
2021-11-01 18:29:55 +03:00
patch:
sed -i -e 's/# ldap3==2.2.4/ldap3==2.2.4/g' ./redash-repo/requirements.txt
build:
2021-11-02 03:34:02 +03:00
docker-compose build --compress --parallel
2021-11-01 18:29:55 +03:00
push:
docker-compose push
clean:
2021-11-01 18:55:05 +03:00
rm -rfv redash-repo
2021-11-01 18:29:55 +03:00
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af