-
Notifications
You must be signed in to change notification settings - Fork 25
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
build images locally #72
Comments
Hey @samlaf , Option 1 is the way to go - I can adjust this limit to get around the error - want to make sure, what's the size of the repository/code that's needed to build the image or ballpark? I believe we set the image lower to prevent large build directories like |
I've made a PR here to increase the upload limit. I tested this out on the optimism monorepo by placing a package(main.star, kurtosis.yml) at the base of the repo and then adding this code in
|
## Description Users trying to use `ImageBuildSpec` to build images inside their packages have repositories greater than 100MB. Image building in Kurtosis requires that the entire build context is within the package, and thus gets uploaded into the APIContainer where the validation step that builds images is done. This PR increases the upload limit of the compression / upload library to account for larger repositorie (2GB) ## Is this change user facing? YES ## References (if applicable) ethpandaops/optimism-package#72
@tedim52 thanks for this! Dumb question... how do I install (or build from source) the latest version of kurtosis to get access to the increased max upload size? Can't find instructions anywhere. Haven't used nix before, and |
completely forgot to release this earlier this week after merging, once |
the docker-compose devnet in the optimism monorepo has an option to rebuild images when deploying the devnet, which helps with devex.
This kurtosis devnet currently does not have this possibility. It pulls the images from the google image repo.
Kurtosis has ImageBuildSpec to build images from a dockerfile. This could be used to build images before deploying them to the enclave. I tried 2 options that both failed.
1. Install optimism monorepo as a submodule
This way we'd have access to the Dockerfile. However, I get this error saying that kurtosis package has to be < 100MB.
2. Point to a Dockerfile outside of Kurtosis package
This also doesn't seem to be allowed.
The text was updated successfully, but these errors were encountered: