Public | Automated Build

Last pushed: 15 days ago
Short Description
Streamlined web hosting image based on Ubuntu 16.04, Apache 2 and PHP 7.
Full Description

University of Adelaide Apache2 PHP7 Docker Image

A customised Apache2 PHP7 Docker image, designed for use on the Shepherd Docker
hosting platform.


When running, volume your project into the /code directory:

docker run --detach --publish 80:80 --volumes ${PWD}:/code uofa/apache2-php7


  • This image expects your code to be volumed or copied into the /code
  • Apache serves /code/web as the webroot.
  • The $WEB_PATH environment variable can be used to set the sub-path your
    web root is served from. This should start with a slash - e.g. /test/path.

To build manually.

docker build -t uofa/apache2-php7 .

or use the script:


Using with openshift locally

For building with openshift, you probably want information from the

Docker Pull Command