nicer images with clmage

This commit is contained in:
Ville Rantanen
2021-11-01 18:49:10 +02:00
parent 8c8b8df753
commit b46748323d
4 changed files with 46 additions and 15 deletions

28
skel/Makefile Normal file
View File

@@ -0,0 +1,28 @@
.PHONY: help
help: ## *:・゚✧*:・゚✧ This help *:・゚✧*:・゚✧
@printf "\033[36;1m %14s \033[0;32;1m %s\033[0m\n" Target Description
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
awk ' \
BEGIN {FS = ":.*?## "}; \
{ if ( $$1 != "-") { \
printf "\033[31;1;40m[ \033[36;1;40m%14s \033[31;1;40m]\033[0;32;1m %s\033[0m\n", $$1, $$2 \
} else { \
printf " \033[0;33;1m=^= %-25s =^=\033[0m\n", $$2 \
} \
} \
'
-: ## Building
###################################
build: ## Build image
echo docker build -t image .
-: ## Running
###################################
run: ## Run image
echo docker run image