Skip to content

docker: match GH page ruby version#1980

Merged
bjohansebas merged 1 commit intoexpressjs:gh-pagesfrom
jonchurch:dockerfile-ruby-bump
Aug 2, 2025
Merged

docker: match GH page ruby version#1980
bjohansebas merged 1 commit intoexpressjs:gh-pagesfrom
jonchurch:dockerfile-ruby-bump

Conversation

@jonchurch
Copy link
Copy Markdown
Member

@jonchurch jonchurch commented Jul 20, 2025

The Problem

We are behind a single patch for ruby version in the dockerfile meant for local dev of the site and the .ruby-version (used for netlify builds, or building from the directory), compared to GH pages official version.

The Solution

Bump both to be 3.3.4 to be in line with GH pages.

Drop the sha pinning, to allow the dockerfile to pull the version for the correct platform.

Context

In #1916 dependabot wanted to bump the ruby version up to beyond what GH pages uses, which made me check the GH pages latest version. The goal of the dockerfile is to ease local dev, and to match the environment that GH pages uses, so I closed the dependabot PR. Dependabot will still try to update it later as patches come out unless we tell it not to. GH updates these like maybe once a year? But the GH pages version will always be behind what dependabot wants.

@jonchurch jonchurch requested a review from a team as a code owner July 20, 2025 23:31
@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 20, 2025

Deploy Preview for expressjscom-preview ready!

Name Link
🔨 Latest commit 47ec8ae
🔍 Latest deploy log https://app.netlify.com/projects/expressjscom-preview/deploys/687d7c3f3956180008d88f39
😎 Deploy Preview https://deploy-preview-1980--expressjscom-preview.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.

@jonchurch jonchurch changed the title docker: match GH page ruby version, drop arch pinning docker: match GH page ruby version Jul 20, 2025
Copy link
Copy Markdown
Member

@bjohansebas bjohansebas left a comment

Choose a reason for hiding this comment

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

LGTM. I hope that someday we can stop depending on GitHub Pages dependencies. That’s why we now use workflows to deploy to production and avoid relying on those versions that GitHub used. However, I’m not sure it’s worth starting to update that. I say this because, with the redesign, I’d really prefer that we migrate to another technology that we all know, since most of us know JavaScript, and we are a Node.js framework, so we know JavaScript. I have no problem continuing to wrestle with Ruby, but I’m definitely much happier developing with javascript (react, astro, nextjs, etc).

@bjohansebas bjohansebas added build docker Pull requests that update docker code labels Aug 2, 2025
@bjohansebas bjohansebas merged commit 4c0838e into expressjs:gh-pages Aug 2, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build docker Pull requests that update docker code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants