Skip to content

An S2I enabled image for hosting Drupal applications in OpenShift

Notifications You must be signed in to change notification settings

singularo/s2i-shepherd-drupal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an s2i builder image for drupal.

Original instructions available here - https://github.com/openshift/source-to-image

Execute build

IMAGE_NAME=singularo/s2i-shepherd-drupal
docker build -t ${IMAGE_NAME} .

Building the main runtime image.

The builder image can also be created by using the make command since a Makefile is included.

make

Making the image public

Once happy with local testing the image(s), both images can be pushed to the repo with:

Note: the IMAGE_TAG in the build-image.sh refers to the docker tag based on the branch name in the Dockerfile's.

make
make tag
make push

Newrelic support.

To enable newrelic, add lines like these examples to your .env file. LICENSE is the important one, APP should be different for each thing being monitored.

NEWRELIC_ENABLED=true
NEWRELIC_LICENSE="1b08384231238762323223233fc0ca1fe0df80bNRAL"
NEWRELIC_APP="aa-simon-local"

Container style change

Original - Apache2

Now - php-fpm

About

An S2I enabled image for hosting Drupal applications in OpenShift

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 68.0%
  • Dockerfile 27.6%
  • Makefile 3.2%
  • PHP 1.2%