geforkt von mirrored/vaultwarden
2c6bd8c9dc
This is a more accurate name, since these Dockerfiles require BuildKit, not Buildx.
15 Zeilen
521 B
Makefile
15 Zeilen
521 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.buildkit: Dockerfile.j2 render_template
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|
|
|
|
%/Dockerfile.buildkit.alpine: Dockerfile.j2 render_template
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|