Skip to content

An example application repository for the s2i httpd builder image

Notifications You must be signed in to change notification settings

sclorg/httpd-ex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache HTTP Server (httpd) S2I Sample Application

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:

$ s2i build https://github.com/sclorg/httpd-ex centos/httpd-24-centos7 myhttpdimage
$ docker 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/sclorg/httpd-ex

You can also deploy the sample template for the application:

$ oc new-app -f https://raw.githubusercontent.com/sclorg/httpd-ex/master/openshift/templates/httpd.json

About

An example application repository for the s2i httpd builder image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published