12 lines
260 B
Makefile
12 lines
260 B
Makefile
API_NODE_PATH:=../../05-example-web-application/api-node/
|
|
|
|
N?=0
|
|
.PHONY: build-N
|
|
build-N:
|
|
docker build --file ./Dockerfile.$(N) -t api-node:$(N) ${API_NODE_PATH}
|
|
|
|
.PHONY: build-all
|
|
build-all:
|
|
for number in 0 1 2 3 ; do \
|
|
N=$$number $(MAKE) build-N; \
|
|
done
|