Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jump-group/wordpress-image
https://github.com/jump-group/wordpress-image
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jump-group/wordpress-image
- Owner: jump-group
- Created: 2024-09-12T09:18:59.000Z (4 months ago)
- Default Branch: development
- Last Pushed: 2024-10-09T13:44:13.000Z (3 months ago)
- Last Synced: 2024-12-01T01:49:20.167Z (about 1 month ago)
- Language: Dockerfile
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP 8.1-FPM Docker Image with Additional Extensions and Tools
This Dockerfile sets up a PHP 8.1-FPM environment with various PHP extensions and tools, such as Imagick, Memcached, and WP-CLI. It also configures Mailhog for email testing and includes some optimizations for performance and error logging.
## Features
- **PHP Extensions**:
- `bcmath`
- `exif`
- `gd` (with freetype and jpeg support)
- `mysqli`
- `soap`
- `zip`- **Installed Libraries and Tools**:
- `ghostscript`
- `imagemagick` (with the `imagick` PHP extension)
- `memcached` (with the `memcached` PHP extension)
- `mariadb-client` (for database connectivity)
- `WP-CLI` (WordPress command line interface)
- `Mailhog` integration for email testing
- **PHP Opcache**: Optimized settings for better performance.
- **Non-root User**: The container runs with a non-root user (`web`) for security reasons.## Installation
To build the Docker image, run the following command:
```bash
docker push jumpgroupit/wordpress-image:tagname