Public | Automated Build

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


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


More packages

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


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

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

Docker Pull Command
Source Repository