16 lines
517 B
Makefile
16 lines
517 B
Makefile
OBJECTS := $(shell find ./ -mindepth 2 -name 'Dockerfile*')
|
|
|
|
all: $(OBJECTS)
|
|
|
|
%/Dockerfile: Dockerfile.j2 render_template
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|
|
|
|
%/Dockerfile.alpine: Dockerfile.j2 render_template
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|
|
|
|
%/Dockerfile.buildx: Dockerfile.j2 render_template
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|
|
|
|
%/Dockerfile.buildx.alpine: Dockerfile.j2 render_template
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|