Original instructions available here - https://github.com/openshift/source-to-image
IMAGE_NAME=singularo/s2i-shepherd-drupal
docker build -t ${IMAGE_NAME} .
The builder image can also be created by using the make command since a Makefile is included.
make
Once happy with local testing the image(s), both images can be pushed to the repo with:
make
make tag
make push
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="e33dbhas63nhgasd76t3e4hjgasd73edjhga80bNRAL"
NEWRELIC_APP="whatever-app"
- Running the lightweight s6 init system
- Multiple processes per container
- apache2
- php-fpm
- s6 syslog interface
- Helpful links used in setup: