Skip to content

elementsweb/s2i-nginx-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s2i-nginx-container

Build Status

An Openshift source-to-image base container for an Nginx web server.

Features extended from centos/s2i-base-centos7:

  • Installation of Nginx 1.12.1 (stable) with nginx.conf

Development

More information about how to develop this S2I builder image can be found in the Creating S2I Builder Image docs.

Building the image

Run make build to instruct Docker to build the image.

Testing the image

Run make test to instruct Docker to build a test image and run tests in test/run.

Tests will check to see if a 200 status code response is returned after running the Nginx server with a non-root user.

Create Openshift Image Stream

See Creating an Image Stream by Manually Pushing an Image to see how to create a new image stream for your base container. You will reference the new image stream in templates that build source code using this base container.

About

Nginx base image designed for use with Openshift

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published