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.
More information about how to develop this S2I builder image can be found in the Creating S2I Builder Image docs.
Run make build
to instruct Docker to build the image.
Run make test
to instruct Docker to build a test image and run tests in test/run.
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.