Browse Source

add Makefiles

main
Markus Bergholz 2 months ago
parent
commit
1b6a23c18e
Signed by: m GPG Key ID: B45724801354B174
2 changed files with 16 additions and 1 deletions
  1. +4
    -1
      Makefile
  2. +12
    -0
      roles/containers/files/Makefile

+ 4
- 1
Makefile View File

@ -23,4 +23,7 @@ localhost: ## install localhost as workstation
ansible-playbook -i inventories/localhost.ini main.yml --tags workstation --extra-vars '{"CONFIG": {"USER": "$$(whoami)"}}'
osuv: ## rollout osuv.de
ansible-playbook -i inventories/inventory.ini main.yml --tags osuvde
ansible-playbook -i inventories/inventory.ini main.yml --tags osuvde
containers: ## build containers
$(MAKE) coturn -C roles/containers/files/

+ 12
- 0
roles/containers/files/Makefile View File

@ -0,0 +1,12 @@
.PHONY: help test
help: ## This help.
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
.DEFAULT_GOAL := help
nextcloud: ## build nextcloud
docker build -f nextcloud.Dockerfile -t registry.gitlab.com/markuman/container-images:home.21.0.0.1 .
coturn: ## build coturn
docker build -f coturn.Dockerfile -t registry.gitlab.com/markuman/container-images:coturn .

Loading…
Cancel
Save