Sign inSign up

niatn1012/apache-php-cc5

By niatn1012

•Updated over 7 years ago

Apache with PHP web container for Concrete5

Image
0

3.1K

niatn1012/apache-php-cc5 repository overview

⁠Apache + PHP container for Concrete5

This repository is a Dcoker image of Apache with PHP web container for Concrete5⁠.

This Docker image is for the base of niatn1012/concrete5⁠, but it is possible to mount the Concrete5 source files from your host or install the other version and use it.

Docker Automated build Docker Build Status Docker Pulls Docker Stars Packagist

For OS image Debian Stretch-slim, CentOS and Alpine Linux are available.

For PHP version PHP 5.6 and PHP 7.2 are available.

Docker tagOS imageMain middlewareDockerfile linkSize
php72-debian, php72, php7-debian, php7, debian, latestDebian Stretch-slimApache2, PHP7.2(php72)⁠
php72-centos, php7-centos, centosCentOS 7Apache2, PHP7.2(php72-centos)⁠
php72-alpine, alpineAlpine Linux 3.8Apache2, PHP7.2(php2-alpine)⁠
php56-debian, php56, php5-debian, php5Debian Stretch-slimApache2, PHP5.6(php56)⁠
php56-centos, php5-centosCentOS 7Apache2, PHP5.6(php56-centos)⁠
  • Alpine Linux version is provided only with PHP 7.2.

⁠Installed PHP modules

⁠Debian Stretch-slim

Installed from Sury repository⁠.

  • php-mysql
  • php-xml
  • php-mbstring
  • php-curl
  • php-mcrypt (php56 version only)
  • php-zip
  • php-gd
⁠CentOS 7

Installed from Remi repository⁠.

  • php-mysql
  • php-xml
  • php-mbstring
  • php-mcrypt (php56-centos version only)
  • php-zip
  • php-gd
⁠Alpine Linux

Installed from Alpine Linux official repository.

  • php-mysql
  • php-xml
  • php-mbstring
  • php-curl
  • php-zip
  • php-gd
  • php-apache2
  • php-simplexml
  • php-dom
  • php-ctype
  • php-json
  • php-fileinfo
  • php-tokenizer
  • php-openssl
  • php-iconv
  • php-session

⁠[APPENDIX] Mount Concrete5 source files on your host to a container created from this Dokoker image and use it

Mount Concrete5 source files directory (as ${CONCRETE5_SOURCE_PATH} in the below example.) on your host to /var/www/html on a container.

# `docker run` command
docker run --name cc5_app --link cc5_db:cc5:db -v /${CONCRETE5_SOURCE_PATH}:/var/www/html -d niatn1012/apache-php-cc5:php72
# docker-compose.yml
version: "3"
services:
    app:
        image: niatn1012/apache-php-cc5:php72
        container_name: cc5_app
        links:
          - cc5_db:cc5_db
        ports:
          - 80:80
        volumes:
          - ${CONCRETE5_SOURCE_PATH}:/var/www/html
    
    # ... (Omission)

The author and Chronoir.net accept no any responsibility for any obstacles or damages caused by using this Dokcer image. Please be understanding of this beforehand.

⁠Release Notes

  • 2019/04/10: The lineup is only PHP5.6 and PHP7.2 for organizing Docker images. Fix Dockerfile and Apache configuration files.
  • 2018/09/14: As a new variation, PHP 7.1, PHP 7.2, CentOS and Alpine Linux version were added.
  • 2018/09/12: [All][BugFix] Corrected the docker entry-point shell scripts.
  • 2018/09/12: Fixed incorrectly specifying Dockerfile in the build setting of php70.
  • 2018/09/10: First release.

Tag summary

Content type

Image

Digest

Size

66.7 MB

Last updated

over 7 years ago

docker pull niatn1012/apache-php-cc5