Migrate Dockerfile from Debian ruby-slim to Arch base image #18
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
Infra
Lineage
Plan: pal-enterprises infrastructure overhaul (Ticket 4 of 5)
Repo
ldraney/pal-enterprisesUser Story
As a platform owner
I want the pal-enterprises production image built from the Arch Linux Ruby base image
So that production runs the same rolling-release Ruby stack as dev and the shared base
Context
The current Dockerfile uses
ruby:3.4.8-slim(Debian) with manually pinned version. The Arch base image (pal-e/ruby-arch:latest) is now available in Harbor, providing rolling-release Ruby with jemalloc, postgresql-libs, and build tools.This also removes the old
k8s/dev.yamlwhich is replaced by the dev overlay in pal-e-deployments.File Targets
Files the agent should modify:
Dockerfile— rewrite FROM to useharbor.harbor.svc.cluster.local/pal-e/ruby-arch:latest, adapt multi-stage build for Arch (pacman instead of apt, Arch paths for jemalloc)Files the agent should delete:
k8s/dev.yaml— replaced by dev overlay in pal-e-deployments.ruby-version— no longer needed (Arch doesn't pin Ruby versions)Acceptance Criteria
docker run <image> ruby --versionshows current Arch Rubyrails serverstarts without errors/upreturns 200k8s/dev.yamlremoved.ruby-versionremovedDependencies
Constraints
Related
ldraney/pal-enterprises#14— Ruby 4.0 upgrade (will be closed, superseded by rolling release)