This commit is contained in:
9
Makefile
9
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.$* .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user