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:
- https://skarnet.org/software/s6/index.html
- https://github.com/just-containers/s6-overlay
- https://github.com/shinsenter/php
- https://github.com/weahead/docker-drupal
- https://github.com/serversideup/docker-php