fix(make): auto-detect docker/podman so Makefile works on either engine #4
Reference in New Issue
Block a user
Delete Branch "sprint/2-simulations"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
replace all 12 hardcoded
dockerinvocations with $(CONTAINER_CMD). User canoverride with
make <target> CONTAINER_CMD=podmanor env export.variable form
$(CONTAINER_CMD) exec … flask create-admin(was hardcodeddocker exec). RUNTIME default also auto-detects (same logic as Makefile)so the test exec'es the right engine without a MIMIC_CONTAINER_CMD export.
regex assertions on lines 75 + 77 match what the Makefile actually emits on
a podman-only host.
Fixes the user-reported issue: "Le makefile ne fonctionne pas sur ma machine
qui n'a que podman."
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com