Sign inSign up

stephenc01/php_docker_custom

By stephenc01

•Updated almost 2 years ago

This repository contains custom Docker images for various PHP versions.

Image
0

1.3K

stephenc01/php_docker_custom repository overview

⁠PHP Docker Custom Images Repository

This repository contains custom Docker images for various PHP versions with apache. The images are built and pushed to Docker Hub using GitHub Actions. This was created just for ease of use.

⁠Docker Images

The repository contains Dockerfiles for the following PHP configurations:

⁠PHP 5.6 with Apache
  • Base Image: php:5.6-apache
  • Custom APT Sources: A custom sources.list is copied to /etc/apt/ for package management.
  • Installed PHP Extensions:
    • calendar
    • mysql
    • mysqli
    • mbstring
    • fileinfo
  • Installed Apache Extensions:
    • remoteip
⁠PHP 8.0.30 with Apache
  • Base Image: php:8.0.30-apache
  • Installed PHP Extension:
    • mysqli
    • pdo_mysql
  • Installed Apache Extensions:
    • remoteip
⁠Latest Stable PHP with Apache
  • Base Image: php:apache
  • Installed PHP Extension:
    • mysqli
    • pdo_mysql
  • Installed Apache Extensions:
    • remoteip

⁠Usage

To use any of the Docker images, you can pull them from Docker Hub:

# For PHP 5.6
docker pull stephenc01/php_docker_custom:php5-modules

# For PHP 8.0
docker pull stephenc01/php_docker_custom:php8.0-modules

# For PHP 8.1
docker pull stephenc01/php_docker_custom:latest-modules

⁠Issues

Tag summary

Content type

Image

Digest

sha256:756794462…

Size

184.1 MB

Last updated

almost 2 years ago

docker pull stephenc01/php_docker_custom