HUB
Sign inSign up
ruby_node logo

darthjee/ruby_node

By darthjee

•Updated 17 days ago

Image
0

1.4K

darthjee/ruby_node repository overview

⁠darthjee/ruby_node

docker

⁠About the image

The darthjee/ruby_node image is a Docker image built on top of darthjee/ruby_3412⁠ (Ruby 3.4.12). It extends the base Ruby image by adding Node.js 24 and npm, enabling the use of Node-based front-end tooling alongside Ruby.

This image is intended for development environments where both Ruby and front-end asset compilation are required.

The image runs as the app user (uid 1000), with /home/app/app as the working directory, owned by app.

⁠What is added

On top of everything provided by darthjee/ruby_3412, this image installs:

  • Node.js 24 – JavaScript runtime, installed from NodeSource.
  • npm – Node package manager, the version bundled with the NodeSource nodejs package.
  • ncat – networking utility (e.g. to wait for services to be reachable).

⁠How to use

Reference this image in your Dockerfile (see the available tags at https://hub.docker.com/r/darthjee/ruby_node/tags⁠):

FROM darthjee/ruby_node:<version>

You can then install your project-specific gems and Node packages on top of the shared base:

FROM darthjee/ruby_node:<version>

COPY --chown=app:app Gemfile Gemfile.lock package.json package-lock.json ./
RUN bundle install && npm install

⁠Variants

ImagePurpose
darthjee/ruby_nodeDevelopment environment with Ruby and Node.js
darthjee/circleci_ruby_nodeCircleCI-optimized variant for running CI pipelines
darthjee/production_ruby_nodeProduction-ready variant, stripped of development tooling

⁠License

See the LICENSE file for more information.

Tag summary

Content type

Image

Digest

sha256:cb944c5bb…

Size

501.9 MB

Last updated

17 days ago

docker pull darthjee/ruby_node