Docker Images
Key components
The following Docker Images have been built to work with DevTools. They all have a similar and consistent
setup, so when using these images it is important to know the technology in place and how to customize it for you purposes.
We have provided environmental configuration for the most frequently customized options, and any extended customization
can be made by following the recommendations in Customizing container configuration
These images are built with the following software
- S6-overlay Init System
- confd config file templating
Note
Below are a collection of tuned images for working with DevTools, but any Docker Image can be used within DevTools. Additionally these Docker Images do not need to be used with DevTools, they can be used in any Docker environment.
Images
phase2/servicebase
(Docker Hub) (Repo)
A CentOS 7 base image that has s6-overlay and confd. This is a useful image for extending to build non-trivial services.
phase2/servicebaselight
(Docker Hub) (Repo)
This is an Alpine-based image that has had the S6-overlay init system and confd added to it.
In addition to the lightweight Alpine base it also includes bash and glibc so that Go-based Linux binaries will run. This image is only ~8MB when compared to the 100+MB of servicebase.
phase2/apache-php
(Docker Hub) (Repo)
Apache & PHP runtime images. It currently support PHP 5.5, 5.6, and 7.0
phase2/apache-php-base
(Docker Hub) (Repo)
A base image for phase2/apache-php. Includes Apache and a default VirtualHost configured with php-fpm proxy. It does not include the php runtime, that is handed in the extension image(s).
phase2/devtools-build
(Docker Hub) (Repo)
This image provides the collection of development tools necessary to build applications, bundled with a wide array of tools useful for development and troubleshooting via the command-line interface. While it is possible to directly connect via the "web" containers (apache-php), this is the preferred way to perform "server work".
It also contains some extras you may need to work with Drupal, including use of tools such as Drupal Console, Grunt Drupal Tasks and Pattern Lab Starter.
phase2/mariadb
(Docker Hub) (Repo)
MariaDB image for MySQL based builds with confd templates for config
phase2/memcache
(Docker Hub) (Repo)
Memcache image with configurable settings
phase2/redis
(Docker Hub) (Repo)
Redis image with a confd template for redis.conf
phase2/node
(Docker Hub) (Repo)
Node image
phase2/varnish
(Docker Hub) (Repo)
Varnish container with fancy environment variables for easy configuration
phase2/jenkins-docker
(Docker Hub) (Repo)
Jenkins image that is built to be able to run Docker commands and launch containers. Docker-inception.