2021-03-05 15:26:05 -05:00
|
|
|
OBJECTS := $(shell find ./ -mindepth 2 -name 'Dockerfile*')
|
2019-12-28 16:52:01 -05: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 06:00:52 -04:00
|
|
|
|
2023-01-22 04:01:02 -05:00
|
|
|
%/Dockerfile.buildkit: Dockerfile.j2 render_template
|
2021-09-13 06:00:52 -04:00
|
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|
|
|
|
|
2023-01-22 04:01:02 -05:00
|
|
|
%/Dockerfile.buildkit.alpine: Dockerfile.j2 render_template
|
2021-09-13 06:00:52 -04:00
|
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|