This repository provides a Docker image for running Laravel applications with support for PHP, Node.js, and various extensions. It also includes Goss for validating the image.
- PHP (dynamic versioning)
- Node.js (dynamic versioning)
- MariaDB Client
- Git
- Various PHP extensions installed
In your Dockerfile
FROM danielzzzz/php-test-runner:8.2
COPY . .
RUN php composer.phar test
- Docker installed on your machine
- Make (optional for using the Makefile)
You can build the Docker image using the following command:
docker build -t my-laravel-image --build-arg PHP_VERSION=8.2 --build-arg NODE_VERSION=18.x .