2024-07-18 16:29:06 +03:00
|
|
|
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
|
|
|
2022-11-14 22:12:31 +03:00
|
|
|
all: app
|
|
|
|
|
|
|
|
app:
|
|
|
|
make build
|
|
|
|
make deploy
|
|
|
|
make clean
|
|
|
|
|
|
|
|
build:
|
2024-07-27 18:47:35 +03:00
|
|
|
make pip
|
|
|
|
python3 kaniko-build.py --version
|
2022-11-14 22:12:31 +03:00
|
|
|
|
|
|
|
deploy:
|
2024-07-18 16:29:06 +03:00
|
|
|
make pip
|
|
|
|
python3 kaniko-build.py --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug
|
2024-06-24 01:15:44 +03:00
|
|
|
|
|
|
|
deploy-compose:
|
2022-11-14 22:12:31 +03:00
|
|
|
docker-compose push
|
|
|
|
|
|
|
|
clean:
|
|
|
|
docker container prune -f
|
|
|
|
docker image prune -f
|
|
|
|
docker network prune -f
|
|
|
|
docker volume prune -f
|
|
|
|
docker system prune -af
|