You can try using any of the available tagged Node.js releases, and your own repo sources - as long as your application source will init correctly with npm start, and listen on port 8080. Or, to run the latest lts release: oc new-app bucharestgold/centos7-s2i-nodejs:lts~ The oc command-line tool can be used to start a build, layering your desired nodejs REPO_URL sources into a centos7 image with your selected RELEASE of Node.js via the following command format: oc new-app bucharestgold/centos7-s2i-nodejs:RELEASE~REPO_URLįor example, you can run a build (including npm install steps), using s2i-nodejs example repo, and the current relase of Node.js with: oc new-app bucharestgold/centos7-s2i-nodejs:current~ OpenShift allows you to quickly start a build using the web console, or the CLI. Operating systems currently provided are: centos7, fedora, rhel7-atomic and rhel7 Usage If you are interested in developing against SCL-based Node.js releases, try sti-nodejs.įor more information about using these images with OpenShift, please see the This repository contains sources for an s2i builder image, based on CentOS7 and Node.js releases from.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |