Docker image with Ruby and Node.js with Yarn installed and ready to roll.
NOTICE: Images are refreshed everytime Ruby official repository is updated on Docker Hub. Minor or patch versions in this readme file should be outdated.
Both Ruby and Node.js are based on official images. Ruby is used as base repository.
Maintained combinations:
- Ruby: 2 (2.6) Node: 10.x
- Ruby: 2 (2.6) Node: 12.x)
- Ruby: 2 (2.6) Node: 14.x
- Ruby: 2 (2.6) Node: 16.x
Some applications, like Jekyll, GitHub pages or Rails with Webpacker, requires both Ruby and Node.js installed in the same image in order to run or fully function. This image do not install any other packages than both other images do.
Ruby: Same as official.
Node: Instead variables NODE_VERSION and YARN_VERSION is available variable NODE_MAJOR fullfiled with major version of node.js. Node is not executed on by CMD.
$ docker run -v "$PWD":/usr/src/app -p "8080:8080" ahmedbhs/ruby-node
The ahmedbhs/ruby-node
images come in three flavors, each designed for a
specific use case.
ahmedbhs/ruby-node:latest
Versions 2-6, 2-8, 2-10 has defined locale C.UTF-8 instead default POSIX.
This Docker image is licensed under the MIT License.
Software contained in this image is licensed under the following:
- Ruby: GPLv2
- Node.js: MIT License
This image is officially supported on Docker versions v17, v18.
Support for older versions (down to v1.0) is provided on a best-effort basis.
If you have any problems with or questions about this image, please contact us through a GitHub issue.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
Individuals making significant and valuable contributions are made Collaborators and given commit-access to the project. These individuals are identified by the existing Collaborators and their addition as Collaborators is discussed as a pull request to this project's README.md.
Note: If you make a significant contribution and are not considered for commit-access log an issue or contact one of the Collaborators directly.
- Radovan Šmitala - @radeno
- Hans Kristian Flaatten - @ahmedbhs