Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.08 KB

README.md

File metadata and controls

19 lines (13 loc) · 1.08 KB

s2i-nodejs-container

An Openshift source-to-image base container for building Node.js application image.

Features extended from centos/s2i-base-centos7:

  • Installation of Node.js version 9.7.1 (includes npm installation)

The built image can be found at j106306/s2i-nodejs-container.

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.

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.