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.$* .