2021-03-05 20:26:05 +00:00
|
|
|
OBJECTS := $(shell find ./ -mindepth 2 -name 'Dockerfile*')
|
2019-12-28 21:52:01 +00:00
|
|
|
|
|
|
|
all: $(OBJECTS)
|
|
|
|
|
|
|
|
%/Dockerfile: Dockerfile.j2 render_template
|
|
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|
|
|
|
|
|
|
|
%/Dockerfile.alpine: Dockerfile.j2 render_template
|
|
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|
2021-09-13 10:00:52 +00:00
|
|
|
|
2023-01-22 09:01:02 +00:00
|
|
|
%/Dockerfile.buildkit: Dockerfile.j2 render_template
|
2021-09-13 10:00:52 +00:00
|
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|
|
|
|
|
2023-01-22 09:01:02 +00:00
|
|
|
%/Dockerfile.buildkit.alpine: Dockerfile.j2 render_template
|
2021-09-13 10:00:52 +00:00
|
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|