Simple docker image for PHP/Laravel development
5.7K
Simple docker image for PHP/Laravel development
VERSION=7.2 make build # Build image with php 7.2
VERSION=7.4 make build # Build image with php 7.4
VERSION=8.0 make build # Build image with php 8.0
VERSION=8.1 make build # Build image with php 8.1
VERSION=8.2 make build # Build image with php 8.2
VERSION=8.2 make test
VERSION=8.1 make test
VERSION=8.0 make test
VERSION=7.4 make test
VERSION=7.2 make test
make test-all
docker run --name=app -v /path/to/project:/var/www/html -p 80:80 pnlinh/laravel:php8.1
version: '3.4'
services:
app:
image: pnlinh/laravel:php8.1
hostname: laravel-app
container_name: laravel-app
ports:
- "80:80"
volumes:
- .:/var/www/html
networks:
- localnet
networks:
localnet:
driver: "bridge"

Content type
Image
Digest
sha256:01008d6be…
Size
16.3 MB
Last updated
about 1 year ago
docker pull pnlinh/laravel:php7.2