from php:7.3
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Mauro Torrez 2019-09-22 17:25:47 -03:00
parent ee8fc99cf4
commit c598b86f5b

View File

@ -57,6 +57,15 @@ Dockerfile.%: unit/version
-e 's,@@UNIT_VERSION@@,$(UNIT_VERSION),g' \ -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.% build-%: Dockerfile.%
docker build -t unit:$(VERSION)-$* -f Dockerfile.$* . docker build -t unit:$(VERSION)-$* -f Dockerfile.$* .