makefile: add idhub_build

This commit is contained in:
pedro 2023-12-12 14:35:17 +01:00
parent 553bc3efe1
commit d02214062e
1 changed files with 5 additions and 1 deletions

View File

@ -29,10 +29,14 @@ idhub_commit := `git -C IdHub log -1 --format=%h`
idhub_tag := ${idhub_branch}__${idhub_commit} idhub_tag := ${idhub_branch}__${idhub_commit}
idhub_image := ${project}/idhub:${idhub_tag} idhub_image := ${project}/idhub:${idhub_tag}
.PHONY: idhub_build
idhub_build:
docker build -f docker/idhub.Dockerfile -t ${idhub_image} -t ${project}/idhub:latest .
docker_build: docker_build:
docker build -f docker/orchestra.Dockerfile -t ${orchestra_image} -t ${project}/orchestra:latest . docker build -f docker/orchestra.Dockerfile -t ${orchestra_image} -t ${project}/orchestra:latest .
#docker build -f docker/musician.Dockerfile -t ${musician_image} -t ${project}/musician:latest . #docker build -f docker/musician.Dockerfile -t ${musician_image} -t ${project}/musician:latest .
docker build -f docker/idhub.Dockerfile -t ${idhub_image} -t ${project}/idhub:latest . $(MAKE) idhub_build
@printf "\n##########################\n" @printf "\n##########################\n"
@printf "\nimage: ${orchestra_image}\n" @printf "\nimage: ${orchestra_image}\n"
@printf "\nimage: ${musician_image}\n" @printf "\nimage: ${musician_image}\n"