Installing Node.js dependencies with Yarn via s2i builds and OpenShift

Building a docker formatted container image for a Node.js application

There are 2 main strategies for building an image for a Node.js Application. The most common strategy is simply using a Dockerfile with a base image of something like FROM node:4-onbuild. Then do a docker build. This will produce an image with your application in it, ready to be run. This strategy is known as the Docker strategy in an OpenShift BuildConfig.

Another strategy is using the s2i tool for taking the application source from a repository and producing the image. A typical command would be.s2i build bucharestgold/centos7-s2i-nodejs:latest myapp. With this strategy, there is no explicit Dockerfile. It is known as the Source strategy in an OpenShift BuildConfig.

Continue reading “Installing Node.js dependencies with Yarn via s2i builds and OpenShift”


Now available – Red Hat Software Collections 2.4 and Red Hat Developer Toolset 6.1

Today, we are announcing the general availability of Red Hat Software Collections 2.4, Red Hat’s latest set of open source web development tools, dynamic languages, and databases. We are also announcing Red Hat Developer Toolset 6.1, which helps to streamline application development on Red Hat Enterprise Linux by giving developers access to some of the latest, stable open source C and C++ compilers and complementary development tools.

New language additions to Red Hat Software Collections 2.4 include:

  • Nginx 1.10
  • Node.js v6
  • Ruby 2.4
  • Ruby on Rails 5.0
  • Scala 2.10

Continue reading “Now available – Red Hat Software Collections 2.4 and Red Hat Developer Toolset 6.1”


No cost. No hassle. Plenty of RHEL Developer Benefits

A year ago Red Hat announced the availability of a no-cost Red Hat Enterprise Linux developer subscription available as part of the Red Hat Developer Program. Offered as a self-supported, development-only subscription, this developer subscriptions provides you with a stable development platform for building enterprise applications – across cloud, physical, virtual, and container-centric infrastructures.

Adoption has been excellent since then, but I was prompted (aka nudged, voluntold) to remind “non users” (yes, some of you are still out there) what it is and how to get it. But I’ll also explain to “users” how to easily re-subscribe (it’s still free) if your 12-month subscription is up.  First, here’s what you “non-users” can get if you become “users”:

Continue reading “No cost. No hassle. Plenty of RHEL Developer Benefits”


Using Perl 5.24 Red Hat Software Collection

Red Hat Software Collection (RHSCL) 2.3 brings new rh-perl524 collection.

It includes Perl 5.24.0, which provides a number of bug fixes and enhancements over the previously released rh-perl520 Software Collection. The details about the changes can be found in 5.22.0 perldelta and 5.24.0 perldelta. The new collection adds package rh-perl524-perl-App-cpanminus, which contains the cpanm utility for getting, extracting, building, and installing modules from the Comprehensive Perl Archive Network (CPAN) repository.

Continue reading “Using Perl 5.24 Red Hat Software Collection”