Name: httpd-ex
Owner: Software Collections
Description: An example application repository for the s2i httpd builder image
Created: 2017-06-14 21:21:32.0
Updated: 2018-03-19 10:00:32.0
Pushed: 2018-03-23 07:56:11.0
Homepage: null
Size: 26
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a very basic sample application repository that can be built and deployed on OpenShift using the Apache HTTP Server builder image.
The application serves a single static html page via httpd.
To build and run the application:
i build https://github.com/openshift/httpd-ex centos/httpd-24-centos7 myhttpdimage
cker run -p 8080:8080 myhttpdimage
browse to http://localhost:8080
You can also build and deploy the application on OpenShift, assuming you have a
working oc
command line environment connected to your cluster already:
$ oc new-app centos/httpd-24-centos7~https://github.com/openshift/httpd-ex
You can also deploy the sample template for the application:
$ oc new-app -f https://raw.githubusercontent.com/openshift/httpd-ex/master/openshift/templates/httpd.json