quartz-docker/Makefile

23 lines
No EOL
487 B
Makefile

export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
export BUILDKIT_PROGRESS=plain
TAG ?= dev
.PHONY: build
build:
docker build --tag code.modernleft.org/gravityfargo/quartz-docker:$(TAG) .
.PHONY: run
run:
docker compose up
.PHONY: exec
exec:
docker exec -it quartz-docker bash
.PHONY: push
push:
docker system prune
docker build --no-cache --tag code.modernleft.org/gravityfargo/quartz-docker:$(TAG) .
docker push code.modernleft.org/gravityfargo/quartz-docker:$(TAG)