Initial QSfera import

This commit is contained in:
Курнат Андрей
2026-06-07 10:20:04 +03:00
commit 2315f25754
16485 changed files with 4826827 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
DOCKER_IMG := alertmanager-template
DOCKER_RUN_CURRENT_USER := docker run --user=$(shell id -u $(USER)):$(shell id -g $(USER))
DOCKER_CMD := $(DOCKER_RUN_CURRENT_USER) --rm -t -v $(PWD):/app -w /app $(DOCKER_IMG)
ifeq ($(NO_DOCKER), true)
DOCKER_CMD=
endif
template-image:
@(if [ "$(NO_DOCKER)" != "true" ] ; then \
echo ">> build template docker image"; \
docker build -t $(DOCKER_IMG) . > /dev/null; \
fi; )
email.tmpl: template-image email.html
@echo ">> inline css for html email template"
$(DOCKER_CMD) ./inline-css.js