Skip to content

shapeblock/drupal-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains the following artifacts required to run Drupal apps on OpenShift.

  1. PHP FPM image running PHP 7.2
  2. Nginx image
  3. Drupal template

How to use

Build the s2i image

$ cd s2i-build

$ docker build -t shapeblock/drupal-8:7.2 .

$ docker push shapeblock/drupal-8:7.2

$ oc import-image shapeblock/drupal-8:7.2 --confirm

# or if creating a new tag

$ oc  tag --source=docker shapeblock/drupal-8:7.2 shapeblock/drupal-8:7.2 

Build the nginx image

$ docker build -t shapeblock/nginx-drupal:1.17 .

$ docker push shapeblock/nginx-drupal:1.17

$ oc import-image shapeblock/nginx-drupal:1.17 --confirm

Upload the template

The template is a quick and UI-friendly way to boot a Drupal 8 application using the above artifacts. This can be imported into the project by running,

$ oc apply -f drupal-8-template.yml

NOTE you have to change the project name in the template according to where you have imported the base images.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published