Public | Automated Build

Last pushed: a year ago
Short Description
Docker images running a fpm in foreground
Full Description

drupal8_fpm

Docker image for Drupal 8 applications running php5.6 and php5-fpm; extra packages and extensions listed below - Find the php5-fpm image here

php5 extensions enabled

  • mysql
  • curl
  • cli
  • gd
  • imagemagick
  • memcache
  • dev
  • imagick
  • pear

Build the image from Dockerfile

$ sudo docker build --tag fpm ./

Run the image

$ sudo docker run --name fpm -d fpm

The -d will run the container in detached mode!

Pull the image from dockerhub

sudo docker pull comicrelief/drupal8_fpm

Notes

More packages

If you wanted to install more php extensions, you'd just have to create a new Dockerfile and install the packages required!

eg

FROM comicrelief/drupal8_fpm
RUN apt-get update && \
    apt-get install php5-curl \
                    php5-foo

Note: Composer is available if you wanted to install extensions using it.

Docker Pull Command
Owner
comicrelief
Source Repository