Skip to content

Conversation

@jfrank-summit
Copy link
Member

Overview

In order to facilitate developer worksflows and testing, it is useful to have a reproducible farmerless dev node image that can be used in local development environments and in CI pipelines for integration testing. The build follows the same approach as the other container builds in the repository.

Implementation details

  • The build stage installs the Rust toolchain plus arch-specific cross-compilers whenever the build and target architectures differ, mirroring the approach used in the other container builds.
  • Cargo builds subspace-farmerless-dev-node with -Z build-std and --locked to keep deps reproducible, then copies the resulting binary into a minimal Ubuntu runtime image that exposes /var/subspace as a volume.
  • The .dockerignore keeps the context lean to improve cache reuse and CI runtimes.
  • Snapshot workflow now includes the farmerless-dev-node image in the docker matrix so it is built, tagged, and scanned alongside the other artifacts.

Code contributor checklist:

@immunefi-magnus
Copy link

🛡️ Immunefi PR Reviews

We noticed that your project isn't set up for automatic code reviews. If you'd like this PR reviewed by the Immunefi team, you can request it manually using the link below:

🔗 Send this PR in for review

Once submitted, we'll take care of assigning a reviewer and follow up here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment @cursor review or bugbot run to trigger another review on this PR

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.

2 participants