Skip to content

build-containers: scheduled rebuilds republish a cached image, while the docs promise weekly security updates #235

Closed

Description

@mmcky

From the 2026-10-06 codebase review (finding M4; record: .qe/dev/log/2026-10-06-codebase-review.md, #220).

Scheduled runs of build-containers.yml replay the layer cache and republish an unchanged image whenever the ubuntu:24.04 digest has not moved. Four of the seven Monday runs from 2026-08-24 to 2026-10-05 did this. Meanwhile:

  • README.md:156 promises weekly builds for security updates;
  • containers/quantecon/README.md:135 says the image stays current with Ubuntu security updates;
  • docs/dev/ARCHITECTURE.md:55 says it is rebuilt weekly.

The evidence and the options are in #234. This issue implements the policy chosen there, so it waits on that decision.

Done when

  • The two READMEs, docs/dev/ARCHITECTURE.md and the comments in build-containers.yml all describe the same policy for scheduled runs, and the workflow does what they say.
  • Under option (a): the lean image's Python layer is pinned (==), and a scheduled run's log shows the apt layer executed, not CACHED.
  • Under option (b): both Dockerfiles pin the base by digest, Dependabot can propose digest updates while holding the 24.04 tag, and the schedule is either removed or documented as a cache warm-up.
  • Reproducibility: what would it take to rebuild a published lecture exactly? #129 is cross-referenced for the reproducibility questions this does not settle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsecurity

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions