Skip to content

AnonymousArthur/laravel-php-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Laravel PHP Docker Image

About

This Dockerfile builds an image to support Laravel to run.

Prerequisite

  • Linux or macOS
  • Docker CE Edge build. Downloads: mac ubuntu

What's inside the box

  • Debian stretch
  • PHP-FPM 7.2
  • PHP extensions: mongodb, postgres, pdo and more...
  • Xdebug
  • Composer
  • NPM
  • NodeJS

Note: MySQL PDO is not supported in this image

Installation

Make sure you're at this Dockerfile's root.

docker build -t laravel-php .

Customizations

PHP

If you want to customize php.ini, place your php.ini in /usr/local/etc/php/.

TODO List:

  • Use Alpine Linux instead of Debian to reduce image size.
  • Support MySQL PDO
  • ...

About

This Dockerfile builds an image to support Laravel to run. Docker Hub:

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published