Rename docker build script

This commit is contained in:
2018-06-30 09:11:09 +03:00
parent 256e41a482
commit 2fe982dc76

12
tools/build-docker Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
source .env
docker pull ${PHP_BASE_IMAGE}
docker pull ${NODE_IMAGE}
docker build \
--file docker/Dockerfile \
--build-arg PHP_BASE_IMAGE=${PHP_BASE_IMAGE} \
--tag ${PHP_IMAGE} \
$PWD