This commit is contained in:
parent
ee8fc99cf4
commit
c598b86f5b
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.$* .
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user