Laravel CI environment for PHP 8.1+ based on the official Ubuntu image
8.6K
Laravel CI environment based on the official Ubuntu image.
Based on https://github.com/joe-niland/docker-phusion-laravel-build
docker build -t joeniland/laravel-ci .
docker run --rm -it --mount src=$(pwd),target=/app,type=bind --workdir /app joeniland/laravel-ci bash
For use with docker:
docker run --privileged --rm -it --mount src=$(pwd),target=/app,type=bind -v /var/run/docker.sock:/var/run/docker.sock -v /cache --workdir /app joeniland/laravel-ci docker run hello-world
To run Unit tests with phpunit:
cd /dev/my-project
docker run -it --mount src=`pwd`,target=/app,type=bind joeniland/laravel-ci phpunit
... where /dev/my-project is your project root.
Content type
Image
Digest
sha256:869a1c661…
Size
366.1 MB
Last updated
8 months ago
docker pull joeniland/laravel-ci:7.4-latest