Skip to content
Commit 4a479f81 authored by Stefy Lanza (nextime / spora )'s avatar Stefy Lanza (nextime / spora )
Browse files

packaging: upgrade commit must not bake the upgrader's runtime config



docker commit snapshots the container's RUNTIME config, so the upgrade flow's
--entrypoint coderai-upgrade override and -e CODERAI_UPGRADE_* vars were being
committed into the image — leaving coderai:base with the upgrader as its default
ENTRYPOINT, so the server "failed to start" (every new container ran the upgrade
script, which as --user also dies on the root-owned app tree). Capture the
image's original ENTRYPOINT/CMD before the upgrade run and re-apply them via
docker commit --change, and blank the injected env vars.

Co-Authored-By: default avatarClaude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EPLnsRpNBzWCHLgkXATqRz
parent 7980f408
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment