Docker container to be able to run tests for PHP Src
You need to have docker on your machine
- clone this repository
git clone --depth 1 https://github.com/BlackScorp/php-dev.git
cd php-dev
- clone the php-src inside the code
git clone -b master --depth 1 https://github.com/php/php-src
- Build the container
docker build -t php-dev:latest .
- Now you can start the container and use the commands within container
docker run -it --rm --name=php-dev -v $(pwd)/php-src:/php-src php-dev:latest bash
- Compile PHP within contianer
./buildconf && ./configure && make
- Run tests within container
make test