docker: add thin backend runtime image#74040
Draft
carl-codeorg wants to merge 1 commit into
Draft
Conversation
stephenliang
self-requested a review
July 23, 2026 18:34
nicklathe
reviewed
Jul 23, 2026
| @@ -1,4 +1,4 @@ | |||
| if Rails.env.development? | |||
| if Rails.env.development? && Gem.loaded_specs.key?('prosopite') | |||
Contributor
There was a problem hiding this comment.
Seems kind of annoying to have to workaround prosopite here. Wondering if I look into a follow-up change that would only initialize prosopite in dev if a flag is set vs. always initing? Something like CDO.prosopite_enabled or something.
Contributor
Author
There was a problem hiding this comment.
Yeah good point. It's possible we can remove this extra guard depending on how we ultimately decide to configure the RAILS_ENV and BUNDLE_WITHOUT for the k8s dev environment.
nicklathe
approved these changes
Jul 23, 2026
nicklathe
left a comment
Contributor
There was a problem hiding this comment.
This LGTM, I like the new direction with defaulting to a base dev image.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First of a series of 4 PRs to introduce a working local k8s setup. Once the PRs are in we will be in a state where:
ruby-slimbase image, and builds on top of that for more resource-intensive images that require apps build, curriculum content seeding, etc. This PR introduces theruby-slimbased image. It was developed in parallel with feat(docker): add cdo-base shared minimal runtime image #73851 and we will eventually update the k8s templates to use that as a base. For now, we can get the local k8s setup working on the image from this PR.Other things this PR touches:
Links
Testing story
Deployment notes
Privacy and security