mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-26 22:55:44 +03:00
31 lines
511 B
Makefile
31 lines
511 B
Makefile
all: app
|
|
|
|
app:
|
|
make sync
|
|
make patch
|
|
make build
|
|
make deploy
|
|
make clean
|
|
|
|
sync:
|
|
rm -rfv redash-repo
|
|
git submodule init
|
|
git submodule update --init --recursive
|
|
git submodule sync --recursive
|
|
|
|
patch:
|
|
sed -i -e 's/# ldap3==2.2.4/ldap3==2.2.4/g' ./redash-repo/requirements.txt
|
|
|
|
build:
|
|
docker-compose build --compress --parallel --progress plain
|
|
|
|
deploy:
|
|
docker-compose push
|
|
|
|
clean:
|
|
docker container prune -f
|
|
docker image prune -f
|
|
docker network prune -f
|
|
docker volume prune -f
|
|
docker system prune -af
|