Repository navigation
Pin Miniconda + apt-get clean in full container, matching lean (#32) - #45
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves the reproducibility and supply-chain hygiene of the full containers/quantecon image by aligning its Miniconda installation and apt cache cleanup behavior with the lean containers/quantecon-build image (per #32).
Changes:
- Pin Miniconda to a specific version in the full image and verify the installer via SHA256 (matching
quantecon-build). - Add
apt-get cleanafter package installation cleanup for closer parity and slightly smaller layers. - Document the change in
CHANGELOG.mdunder Unreleased.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| containers/quantecon/Dockerfile | Pins Miniconda installer + SHA256 verification and adds apt-get clean for apt cache parity with the lean image. |
| CHANGELOG.md | Records the container reproducibility/security and cleanup parity change under Unreleased. |
- C2: the full `quantecon` image pulled Miniconda3-latest with no checksum. Pin MINICONDA_VERSION=py313_25.11.1-1 and verify SHA256, identical to the lean `quantecon-build` image — supply-chain + reproducibility parity. - L20: add `apt-get clean` after clearing apt lists, matching the lean image. Closes #32 Co-Authored-By: Claude Opus 4.8 <[email protected]>
mmcky
force-pushed
the
fix/pin-miniconda-full-container
branch
from
June 16, 2026 05:26
d191bde to
93663e1
Compare
mmcky
added a commit
that referenced
this pull request
Jun 16, 2026
…ge (#47) * Add Dependabot for the container conda environments Watches containers/quantecon and containers/quantecon-build environment.yml via Dependabot's conda ecosystem (GA Dec 2025), which resolves Python packages through PyPI — keeping the pip toolchain (jupyter-book, quantecon-book-theme, sphinx-* extensions, kaleido) current with weekly PRs. Conda-only entries (anaconda metapackage, nodejs) aren't on PyPI and stay manual; `python` is ignored so the version stays under our control. This complements the pinned Miniconda installer (#45): we pin for reproducible/verifiable builds, and Dependabot proposes the package bumps so the environment doesn't silently drift. Co-Authored-By: Claude Opus 4.8 <[email protected]> * dependabot: also track third-party actions and the container base image - github-actions: keep the third-party actions current across .github/workflows and each composite action subdir (they must be listed explicitly — Dependabot only scans the given directory's action.yml). Ignores our own internal quantecon/actions @v0 sibling references. - docker: track the ubuntu:24.04 base image in both Dockerfiles. This also covers the Dependabot half of #39 (the SHA-pinning piece is separate). Co-Authored-By: Claude Opus 4.8 <[email protected]> --------- Co-authored-by: Claude Opus 4.8 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #32 (C2, L20) — brings the full
quanteconimage's Miniconda install in line with the leanquantecon-buildimage.C2 — pin Miniconda + verify SHA256
The full image pulled
Miniconda3-latest-Linux-x86_64.shwith no checksum — a supply-chain and reproducibility risk. Now it pins the exact version and verifies the SHA256, identical to the lean image:L20 —
apt-get cleanparityAdded
apt-get cleanafterrm -rf /var/lib/apt/lists/*, matching the lean image (small image-size win).Notes
quantecon-build, with a comment to keep them in sync. When bumping Miniconda, both Dockerfiles should move together.Closes #32
🤖 Generated with Claude Code