Skip to content

wesslim/docker-ruby-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Multistage Alpine Ruby + Node.js

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.

Default Versions

Supported Build Args

  • RUBY_VERSION
  • NODE_VERSION

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

Usage

docker run -it my:tag

Run ruby

docker run -it my:tag irb

Run node

docker run -it my:tag node

About

Multistage Ruby + Nodejs Dockerfile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%