Swap Dockerfile runtime to ruby-rails-runtime #29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Follow-up from spike #18 (
docs/pipeline.md— Runtime Image Alignment Spike).Repo
ldraney/palinks+ldraney/pal-e-deploymentsUser Story
As a developer
I want the Dockerfile to use the platform-standard runtime image
So that palinks stays aligned with the platform and reduces maintenance
Context
Palinks builds its runtime stage from
ruby:3.4.9-slimwith 27 lines of manual setup. The platform hasruby-rails-runtimein Harbor that pre-bakes all of this. The spike verified every line is equivalent. Switch also moves from port 80 to 3000 for platform consistency. CMD changes fromrails serverto explicitbundle exec pumato avoid dev middleware overhead.File Targets
palinks repo:
Dockerfile— replace runtime stage withruby-rails-runtime, change EXPOSE to 3000, change CMDdocs/pipeline.md— update mermaid diagram note ("ruby-slim final image" -> "ruby-rails-runtime")pal-e-deployments repo:
overlays/palinks/prod/deployment-patch.yaml— probe ports 80->3000overlays/palinks/prod/kustomization.yaml— containerPort + Service ports 80->3000Feature Flag
None — infrastructure change, not user-facing behavior.
Acceptance Criteria
harbor.tail5b443a.ts.net/library/ruby-rails-runtime:latest/upTest Expectations
curl https://palinks.tail5b443a.ts.net/upreturns 200 after deployConstraints
config/puma.rbalready readsPORTenv with 3000 default — no change needed.woodpecker.yamlunchanged — Kaniko builds from Dockerfiledocker-compose.ymluses build image, unaffectedChecklist
Related
project-palinks— project pagedocs/pipeline.md— spike findings