Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rusk: add new feature & change Dockerfile #3030

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

Neotamandua
Copy link
Member

@Neotamandua Neotamandua commented Nov 20, 2024

This pull request introduces changes to support building and running the rusk binary in Docker with the archive feature

Main changes

  • add CARGO_FEATURES build-arg to Dockerfile
  • change README to include new docker build command
  • adjust workflow to use "archive" build-arg
  • small improvement on Makefile commands

@Neotamandua Neotamandua force-pushed the neotamandua/change_default_feature branch 3 times, most recently from d4cef69 to a371760 Compare November 20, 2024 18:44
@HDauven
Copy link
Member

HDauven commented Nov 21, 2024

Question, why don't we compile with archive by default, but disable the archive functionality by default except when we pass a flag on the command line? As far as I know most chains do it this way. And we already do this on some contexts, like the HTTP listener

@Neotamandua
Copy link
Member Author

Question, why don't we compile with archive by default, but disable the archive functionality by default except when we pass a flag on the command line?

This is a more long-term plan. I created an issue for it here: #3053

@Neotamandua Neotamandua force-pushed the neotamandua/change_default_feature branch from a371760 to bfe5959 Compare November 28, 2024 15:10
@Neotamandua Neotamandua changed the title rusk: change default feature to include archive rusk: add new feature & change Dockerfile Nov 28, 2024
@Neotamandua Neotamandua force-pushed the neotamandua/change_default_feature branch from bfe5959 to 2ed09cd Compare November 28, 2024 15:16
HDauven
HDauven previously approved these changes Nov 28, 2024
- add CARGO_FEATURES build-arg to Dockerfile
- change README to include new docker build command
- adjust workflow to use "archive" build-arg
- small improvement on Makefile commands
@Neotamandua Neotamandua merged commit 183d88d into master Nov 29, 2024
15 checks passed
@Neotamandua Neotamandua deleted the neotamandua/change_default_feature branch November 29, 2024 09:41
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