Docker Image for PHP nightly. Currently 8.0.0-dev.
This image is highly inspired by the official Alpine PHP images.
$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp tommymuehle/docker-alpine-php-nightly php your-script.php
FROM tommymuehle/docker-alpine-php-nightly
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
CMD [ "php", "./your-script.php" ]
Then, run the commands to build and run the Docker image:
$ docker build -t my-php-app .
$ docker run -it --rm --name my-running-app my-php-app
If you have any problems with or questions about this image, please contact me through a GitHub issue.