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

All builds inside docker dev containers? #25108

Open
fireflysemantics opened this issue Jan 28, 2025 · 0 comments
Open

All builds inside docker dev containers? #25108

fireflysemantics opened this issue Jan 28, 2025 · 0 comments
Labels
team-Core Skyframe, bazel query, BEP, options parsing, bazelrc type: feature request untriaged

Comments

@fireflysemantics
Copy link

fireflysemantics commented Jan 28, 2025

Description of the feature request:

I was just learning about dev containers and wondered whether it would be possible for Bazel to just use containers to perform builds for each package?

So the build would just run off of the .devcontainers meta data resources, and produce output outside of the container.

I think Bazel would just need to extend the devcontainer.json file with some additional Bazel required meta data, and then we're off to the races.

This way the build is "Hermetic" and simple. It essentially eliminates the Bazel learning curve and provides developers with a development environment at the same time.

Which category does this issue belong to?

Core

What underlying problem are you trying to solve with this feature?

Learning curve for Bazel is steep.

Which operating system are you running Bazel on?

MacOS

What is the output of bazel info release?

No response

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?


Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

@fireflysemantics fireflysemantics changed the title All builds inside docker containers? All builds inside docker dev containers? Jan 28, 2025
@sgowroji sgowroji added the team-Core Skyframe, bazel query, BEP, options parsing, bazelrc label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Core Skyframe, bazel query, BEP, options parsing, bazelrc type: feature request untriaged
Projects
None yet
Development

No branches or pull requests

4 participants