diff --git a/Dockerfile b/Dockerfile index aa31dc2..a266aa3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.fedoraproject.org/f30/s2i-base:latest +FROM registry.fedoraproject.org/f32/s2i-base:latest # This image provides a Node.JS environment you can use to run your Node.JS # applications. @@ -16,7 +16,7 @@ EXPOSE 8080 # Expose ports: # * 8080 - Unprivileged port used by nodejs application -ENV NODEJS_VERSION=10 \ +ENV NODEJS_VERSION=12 \ NPM_RUN=start \ NAME=nodejs \ NPM_CONFIG_PREFIX=$HOME/.npm-global \ diff --git a/root/help.1 b/root/help.1 index 2b7b203..ed4cba6 100644 --- a/root/help.1 +++ b/root/help.1 @@ -1,7 +1,7 @@ -.TH NodeJS 10 container image +.TH NodeJS 12 container image .PP -This container image includes Node.JS 10 as a S2I -\[la]https://github.com/openshift/source-to-image\[ra] base image for your Node.JS 10 applications. +This container image includes Node.JS 12 as a S2I +\[la]https://github.com/openshift/source-to-image\[ra] base image for your Node.JS 12 applications. Users can choose between RHEL, CentOS and Fedora based images. The RHEL images are available in the Red Hat Container Catalog \[la]https://access.redhat.com/containers/\[ra], @@ -17,8 +17,8 @@ Note: while the examples in this README are calling \fB\fCpodman\fR, you can rep .SH Description .PP -Node.js 10 available as container is a base platform for -building and running various Node.js 10 applications and frameworks. +Node.js 12 available as container is a base platform for +building and running various Node.js 12 applications and frameworks. Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event\-driven, non\-blocking I/O model that makes it lightweight and efficient, perfect for data\-intensive real\-time applications @@ -26,9 +26,9 @@ that run across distributed devices. .SH Usage .PP -For this, we will assume that you are using the \fB\fCubi8/nodejs\-10 image\fR, available via \fB\fCnodejs:10\fR imagestream tag in Openshift. +For this, we will assume that you are using the \fB\fCubi8/nodejs\-12 image\fR, available via \fB\fCnodejs:12\fR imagestream tag in Openshift. Building a simple nodejs\-sample\-app -\[la]https://github.com/sclorg/s2i-nodejs-container/tree/master/10/test/test-app\[ra] application +\[la]https://github.com/sclorg/s2i-nodejs-container/tree/master/12/test/test-app\[ra] application in Openshift can be achieved with the following step: .PP @@ -36,7 +36,7 @@ in Openshift can be achieved with the following step: .nf ``` -oc new\-app nodejs:10\~https://github.com/sclorg/s2i\-nodejs\-container.git \-\-context\-dir=10/test/test\-app/ +oc new\-app nodejs:12\~https://github.com/sclorg/s2i\-nodejs\-container.git \-\-context\-dir=12/test/test\-app/ ``` .fi @@ -51,7 +51,7 @@ The same application can also be built using the standalone S2I .nf ``` -$ s2i build https://github.com/sclorg/s2i\-nodejs\-container.git \-\-context\-dir=10/test/test\-app/ ubi8/nodejs\-10 nodejs\-sample\-app +$ s2i build https://github.com/sclorg/s2i\-nodejs\-container.git \-\-context\-dir=12/test/test\-app/ ubi8/nodejs\-12 nodejs\-sample\-app ``` .fi