Skip to content

Conversation

@igor-alexandrov
Copy link
Contributor

Description

Upgraded Ruby language guide to include DHI-based Dockerfile example.

Reviews

  • Technical review
  • Editorial review
  • Product review

@netlify
Copy link

netlify bot commented Nov 10, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 07065b7
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6911e48570203d0008f23715
😎 Deploy Preview https://deploy-preview-23691--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
ARG RUBY_VERSION=3.3.6
ARG RUBY_VERSION=3.4.7
FROM <your-namespace>/dhi-ruby:$RUBY_VERSION AS base
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @igor-alexandrov. I think this needs to use the dev variant at a minimum because the runtime variant doesn't have a package manager. It could also use the runtime variant in the final stage to make the image even more secure, but not necessary.

Suggested change
FROM <your-namespace>/dhi-ruby:$RUBY_VERSION AS base
FROM <your-namespace>/dhi-ruby:$RUBY_VERSION-dev AS base

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants