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

refactor: Docker build system #260

Merged
merged 4 commits into from
Jan 19, 2024
Merged

refactor: Docker build system #260

merged 4 commits into from
Jan 19, 2024

Conversation

gligneul
Copy link
Contributor

@gligneul gligneul commented Jan 17, 2024

  • Refactored the Dockerfile, adding comprehensive documentation.
  • Moved the version config to the bake file.
  • Added the rollups-node prefix to all Docker images.
  • Changed the installation dir of the binaries to /usr/bin.
  • Changed the base Docker image to debian-bookworm instead cartesi/server-manager.

@gligneul gligneul self-assigned this Jan 17, 2024
@gligneul gligneul changed the title Feature/refactor dockerfile refactor: Docker build system Jan 18, 2024
build/Dockerfile Outdated Show resolved Hide resolved
build/Dockerfile Outdated Show resolved Hide resolved
pkg/ethutil/ethutil_test.go Show resolved Hide resolved
build/Dockerfile Outdated Show resolved Hide resolved
build/Dockerfile Outdated Show resolved Hide resolved
Copy link
Contributor

@torives torives left a comment

Choose a reason for hiding this comment

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

It looks great, it became way easier to reason about the file 👍🏽

build/Dockerfile Outdated Show resolved Hide resolved
build/Dockerfile Show resolved Hide resolved
build/Dockerfile Outdated Show resolved Hide resolved
The Rust build is very slow. Adding this hash breaks the Docker cache
and requires the build to always run.
@gligneul gligneul force-pushed the feature/refactor-dockerfile branch 2 times, most recently from 21c2b8b to 1b763be Compare January 18, 2024 21:24
build/Dockerfile Outdated Show resolved Hide resolved
build/Dockerfile Outdated Show resolved Hide resolved
- Refactored the Dockerfile, adding comprehensive documentation.
- Moved the version config to the bake file.
- Added the rollups-node prefix to all Docker images.
- Changed the installation dir of the binaries to /usr/bin.
- Changed the base Docker image to debian-bookworm instead cartesi/server-manager.
Copy link
Contributor

@endersonmaia endersonmaia left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@gligneul gligneul merged commit 01490e9 into main Jan 19, 2024
5 checks passed
@gligneul gligneul deleted the feature/refactor-dockerfile branch January 19, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants