Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

Dockerfile: copy bootstrap+README, pin RALPH_RECIPE_DIR=/app - #65

Merged
bitzic merged 1 commit into
mainfrom
fix/prooftest-dockerfile
Jun 26, 2026
Merged

Dockerfile: copy bootstrap+README, pin RALPH_RECIPE_DIR=/app#65
bitzic merged 1 commit into
mainfrom
fix/prooftest-dockerfile

Conversation

@bitzic

@bitzic bitzic commented Jun 26, 2026

Copy link
Copy Markdown
Contributor
  • COPY ralph_bootstrap.py: top-level module, not in packages.find, so editable install omits it; runner crashed on from ralph_bootstrap import RECIPE_DIR.
  • ENV RALPH_RECIPE_DIR=/app: flattened layout; without it RECIPE_DIR falls back to /app/recipe -> empty recipe tree -> wrong measurement.
  • COPY README.md: it's in proof/sources.py _PROTOCOL_FILES (measured) but the COPY block omitted it.
  • With these, the image's container_measurement reproduces the canonical 6c6bdbc1... that the live validator computes (published as ralphlabsai/ralph-prooftest@sha256:ed4397fb...).

- COPY ralph_bootstrap.py: top-level module, not in packages.find, so
  editable install omits it; runner crashed on `from ralph_bootstrap
  import RECIPE_DIR`.
- ENV RALPH_RECIPE_DIR=/app: flattened layout; without it RECIPE_DIR
  falls back to /app/recipe -> empty recipe tree -> wrong measurement.
- COPY README.md: it's in proof/sources.py _PROTOCOL_FILES (measured)
  but the COPY block omitted it.
- With these, the image's container_measurement reproduces the canonical
  6c6bdbc1... that the live validator computes (published as
  ralphlabsai/ralph-prooftest@sha256:ed4397fb...).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@bitzic
bitzic merged commit c59cba7 into main Jun 26, 2026
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant