aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2019-05-17 06:49:12 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2019-05-21 20:11:52 +0000
commit2de11a34169283cae63dfaecda812f45292eddd3 (patch)
treed089563cf56847eafa627c0dcca4993058d17112 /Makefile
parentb45a86041bfc2e407ba13c1db80470da7667c8e8 (diff)
downloaddocker-abuild-2de11a34169283cae63dfaecda812f45292eddd3.tar.bz2
docker-abuild-2de11a34169283cae63dfaecda812f45292eddd3.tar.xz
add drone image building support
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