WIP: feat(docker): move a pinned image to a newer version #5
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/docker-pinned-versions"
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?
Last of four; stacked on #4.
A pinned tag cannot be updated by pulling —
nginx:1.25isnginx:1.25forever — so the module reported "up to date" for images with years of releases behind them.tags.tsparses versions and offers what exists at each component, scoped byOPSDECK_MOD_DOCKER_UPGRADE_SCOPE(patch by default, because applying one rewrites a file).git commit <file>is not an option — it commits the working tree copy and would sweep their edits in.commit.tsapplies a one-hunk patch to the index instead, serialised per repository, and declines with a reason if the index is already dirty.Ordered to fail safely: validate the tag against the registry first, keep the original text in hand, prove the edited file still parses before anything is started, put the original back if it does not.
This is why the containers write permission now covers the host mount, which docs/security.md states rather than leaving implied.
Verified in the rig end to end: chooser → apply → compose rewrite →
chore(heavy): python:3.12-slim -> python:3.13-slimcommitted with a clean work tree → pull → recreate → the container runs the new image.feat(docker): move a pinned image to a newer versionto WIP: feat(docker): move a pinned image to a newer versionPull request closed