From c598b86f5b05c4e3a9530367b79457bb72e7e43c Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Sun, 22 Sep 2019 17:25:47 -0300 Subject: [PATCH] from php:7.3 --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 3a11acd..741c106 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,15 @@ Dockerfile.%: unit/version -e 's,@@UNIT_VERSION@@,$(UNIT_VERSION),g' \ > $@ +Dockerfile.php7.3: unit/version + @echo "===> Building Dockerfile.php7.3" + cat unit/pkg/docker/Dockerfile.tmpl | sed \ + -e 's,FROM debian:stretch-slim,FROM php:7.3-cli,g' \ + -e 's,stretch,buster,g' \ + -e 's,@@UNITPACKAGES@@,$(MODULE_php7.3),g' \ + -e 's,@@UNIT_VERSION@@,$(UNIT_VERSION),g' \ + > Dockerfile.php7.3 + build-%: Dockerfile.% docker build -t unit:$(VERSION)-$* -f Dockerfile.$* .