mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 01:02:24 +01:00
12 lines
326 B
Bash
Executable File
12 lines
326 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ! -f composer.json ]; then
|
|
echo "Please run this from the deployer repository root"
|
|
exit 1
|
|
fi
|
|
|
|
composer install &&
|
|
docker build -t deployer-5.6 test/docker &&
|
|
docker run -v $(pwd):/home/deployer/deployer -i -t deployer-5.6 \
|
|
/home/deployer/deployer/test/docker/docker-bootstrap.sh $@
|