Skip to content

canton: fix devnet Dockerfile for the current core DAR layout#42

Merged
bengtlofgren merged 1 commit into
integration/cantonfrom
fix/canton-dockerfile-dars-copy
Jul 16, 2026
Merged

canton: fix devnet Dockerfile for the current core DAR layout#42
bengtlofgren merged 1 commit into
integration/cantonfrom
fix/canton-dockerfile-dars-copy

Conversation

@bengtlofgren

Copy link
Copy Markdown

Summary

  • The devnet Dockerfile's build stage never copied canton/dars/, and referenced wormhole-core-0.1.0.dar -- but core is now versioned 0.2.0 and canton/test's data-dependencies moved to the vendored ../dars/ directory as of canton: token-standard fee payments #40. The image could not have built as written.
  • Copies dars/ before the build stage and fixes the copied DAR filename to 0.2.0.

This is a prerequisite extracted from the (not-yet-merged) canton-keyed-ntt branch's Dockerfile changes, split out because it's a core-only fix independent of NTT -- part of the effort to migrate Canton NTT to native-token-transfers (separate PR(s) to follow).

Test plan

  • dpm build --all produces exactly core/.daml/dist/wormhole-core-0.2.0.dar and test/.daml/dist/wormhole-core-test-0.1.0.dar -- matching what the Dockerfile now references
  • Docker image build itself isn't runnable in this dev environment (no Docker) -- needs confirmation on a host/CI with Docker available

https://claude.ai/code/session_01VFr5RtBKysvjdRN2nKmhMV

The build stage still copied only core/ and test/ and referenced
wormhole-core-0.1.0.dar, but core is now versioned 0.2.0 and canton/test's
data-dependencies moved to the vendored ../dars/ directory (fee payments,
#40) -- the image could not have built as written. Copy dars/ before the
build and reference the correct 0.2.0 DAR filename.

Verified core + test build via dpm and produce exactly the filenames this
Dockerfile now references; the Docker build itself isn't runnable in this
devcontainer (no Docker), so CI/a real build host should confirm the image
build end to end.

Claude-Session: https://claude.ai/code/session_01VFr5RtBKysvjdRN2nKmhMV
@bengtlofgren
bengtlofgren requested a review from evan-gray as a code owner July 16, 2026 09:41
@bengtlofgren
bengtlofgren merged commit 5f72cb8 into integration/canton Jul 16, 2026
31 of 35 checks passed
@bengtlofgren
bengtlofgren deleted the fix/canton-dockerfile-dars-copy branch July 16, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant