Using for loop variable in Makefile shell – Debian
I am trying to create a docker pull in my Makefile using the following script: ARCH=amd64 IMAGE=k8s.gcr.io/debian-base TAG=v1.0.0 all: docker pull $(shell echo $(ARCH) | sed -e "s~[^ ]*~$(IMAGE)-&:$(TAG)~g"); When I run make command, I am able to pull the…