paliari/docker-apache-php8

Docker image with apache and PHP 8

Images with dev suffix contains everything in pro and some other requirements for development like composer

Versioning

Docker Tag Apache Version PHP Version Debian Version
2.2.2 2.4.57 8.2.14 Debian GNU/Linux 12
2.2.2-gd 2.4.57 8.2.14 Debian GNU/Linux 12
2.2.2-dev 2.4.57 8.2.14 Debian GNU/Linux 12
2.2.2-dev-pcov 2.4.57 8.2.14 Debian GNU/Linux 12
2.1.1 2.4.54 8.1.8 Debian GNU/Linux 11
2.1.1-gd 2.4.54 8.1.8 Debian GNU/Linux 11
2.1.1-dev 2.4.54 8.1.8 Debian GNU/Linux 11
2.1.1-dev-pcov 2.4.54 8.1.8 Debian GNU/Linux 11

Links

Quick Start

To pull from docker hub:

docker pull paliari/apache-php8:<version>

Running

Run the container:

docker container run -p 80:80 -v $(pwd):/var/www/html -d paliari/apache-php8:2.2.0

build image

docker build . -t paliari/apache-php8:<version>
docker build . -t paliari/apache-php8:<version>-gd -f gd.Dockerfile
docker build . -t paliari/apache-php8:<version>-dev -f dev.Dockerfile
docker build . -t paliari/apache-php8:<version>-dev-pcov -f dev-pcov.Dockerfile

Author