Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refresh bench tooling and Claude profiles #1
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
base: main
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Refresh bench tooling and Claude profiles #1
Changes from all commits
07eabe2File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When this repo is built against the documented
dev-bench-base:latestLayer 1a that does not already provide Docker Compose, this replaces the only Layer 2 Docker client installation with a version check. The devcontainer bind-mounts/var/run/docker.sock, but that mount does not provide thedockeror Compose binaries, so bases without those tools now fail at thisRUNstep instead of producing the Frappe image.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When building against the documented
dev-bench-baselayer, Docker is no longer installed by this Dockerfile before thisRUNexecutes. The previous block downloaded both the Docker client and Compose plugin here, but this change only verifies inherited tools, so builds fail at this layer withdocker: not foundunless an out-of-repo base image has been rebuilt with Docker already included.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because this image now installs
frappe-benchwith--no-deps, every runtime dependency has to be listed explicitly. The added list omitssemantic-version, which current bench imports frombench.app; the laterbench get-appcommands in this same Dockerfile load that module, so the Layer 2 build will fail withModuleNotFoundError: No module named 'semantic_version'before the template apps are fetched.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a clean Layer 1a image that does not already have
semantic-version, installingfrappe-benchwith--no-depsskips one of bench's declared runtime dependencies. The template build later runsbench get-app, which importsbench.appand thensemantic_version, so the Docker build fails withModuleNotFoundErrorbefore the image can be produced. Either let pip resolve bench dependencies or installsemantic-versionexplicitly here.Useful? React with 👍 / 👎.