includes all php depedencies for running laravel app including composer & php extensions
162
This Docker repository contains a Dockerfile designed to create a lightweight PHP environment based on the Alpine Linux distribution. The image is specifically tailored for PHP development and deployment, including essential PHP extensions and Composer for dependency management.
php:alpine image, which provides a minimal PHP environment based on Alpine Linux, known for its small size and security.git and zip via the Alpine package manager (apk) for version control and file compression needs.gd: Provides image processing capabilities.mysqli, pdo, pdo_mysql: Essential for database interactions, particularly with MySQL.zip: Enables handling of ZIP archives.pcntl: Facilitates process control.exif: Supports reading EXIF metadata from images./usr/bin/ for easy access.To use this image, run the following commands:
docker run -it user335/laravel-php:8.2
docker run -it user335/laravel-php:8.1
This image is ideal for PHP developers who need a robust environment with common extensions and tools pre-installed, reducing the time spent on setup and configuration.
/usr/bin/, making it accessible from anywhere in the container.This Docker image offers a streamlined, efficient, and secure environment for PHP development. Its minimal Alpine base ensures a small footprint, while the included extensions and tools cater to a wide range of PHP development needs.
Content type
Image
Digest
sha256:62c64f41f…
Size
46.2 MB
Last updated
about 2 years ago
docker pull user335/laravel-php:8.2