Overleaf/Makefile

19 lines
433 B
Makefile
Raw Normal View History

include .env
2020-05-13 19:08:35 +02:00
build:
docker build --build-arg login_text="${LOGIN_TEXT}" \
2022-01-17 14:36:17 +01:00
--build-arg collab_text="${COLLAB_TEXT}" \
--build-arg admin_is_sysadmin="${ADMIN_IS_SYSADMIN}" \
-t "ldap-overleaf-sl" ldap-overleaf-sl
2020-05-13 19:08:35 +02:00
clean: check_clean
docker-compose down
docker volume prune
docker container prune
check_clean:
@echo -n "Are you sure? [y/N] " && read ans && [ $${ans:-N} = y ]
.PHONY: clean check_clean