aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 106a9ab..326c30b 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,8 @@ images: $(patsubst %, build-%, $(TAGS))
.PHONY: build-%
build-%:
- sed 's/%%ALPINE_TAG%%/$*/' Dockerfile.in >| Dockerfile
+ sed 's!%%ALPINE_TAG%%!$*!;s!%%ALPINE_REL%%!$(subst v,,$*)!' \
+ Dockerfile.in >| Dockerfile
# XXX probably because I'm on an edge release of Docker for Mac with a beta
# engine, DOCKER_BUILDKIT appears to have some strange behaviour so turning
# it off for now