Skip to content

Instantly share code, notes, and snippets.

@ghousemohamed
Created October 4, 2021 01:17
Show Gist options
  • Save ghousemohamed/14bf461441186c4c5b3c3bae7f1dc6cf to your computer and use it in GitHub Desktop.
Save ghousemohamed/14bf461441186c4c5b3c3bae7f1dc6cf to your computer and use it in GitHub Desktop.
Updating Ruby and Node.js version for neeto applications in Docker environment

In the following PR for neeto-insights-web repository, note that the ruby version has been set to 3.0.1 and the node.js version to 16

PR: https://github.com/bigbinary/neeto-insights-web/pull/332/files

Follow the above PR to change the ruby version and node.js version for a neeto application.

To update the ruby version and node.js version to different versions, please refer https://github.com/bigbinary/docker-images repository to check the list of available images for a particular ruby version and node.js version and use the respective image.

For example, to set the ruby version to 3.0.2 and nodejs version to 15.x for repository in a Docker environment, the following image has to used in the Dockerfile

neeto/ruby-3.0.2:node15 image has to be used and nodejs-current has to be added to the dependencies in the Dockerfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment