A multistage docker image using the official Docker Hub Ruby and Node.js builds.
The image contains pre-installed versions of ruby
, bundler
, node
, npm
and yarn
.
The default entrypoint is bash
.
Build an image using Ruby 2.6 & Node 11:
docker build -t my:tag github.com/jsntv200/docker-ruby-node \
--build-arg RUBY_VERSION=2.6
--build-arg NODE_VERSION=11
docker run -it my:tag
ruby
docker run -it my:tag irb
node
docker run -it my:tag node