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

Buildkit implementation #276

Merged
merged 2 commits into from
Dec 10, 2022
Merged

Buildkit implementation #276

merged 2 commits into from
Dec 10, 2022

Conversation

fussybeaver
Copy link
Owner

@fussybeaver fussybeaver commented Dec 3, 2022

Follows prior work in #264 .

Connects to Docker's built-in buildkit grpc client.

To try, use feature buildkit. Specify the correct version in BuildImageOptions and specify an arbitrary unique session to identify with the grpc client. There is an example in examples/build_buildkit.rs, which uses a local tar approach, but a remote Dockerfile should also work.

This PR does not do authentication to a private registry. I'm also unsure if the windows version of Docker works.

Closes #264
Closes #237

@fussybeaver fussybeaver force-pushed the ND-buildkit branch 6 times, most recently from 8560626 to 3440d71 Compare December 4, 2022 15:37
Description:
- Build images using buildkit
- Adds git submodules for buildkit gRPC codegen
- Doesn't work yet, but we get a HTTP 101 when upgrading
  via /session endpoint on the docker API
Connects to Docker's built-in buildkit grpc client. Contains an example
and integration test.

This PR does not authenticate to private registries. Windows CI is
disabled, so unsure this works there.
@JakeCooper
Copy link

Any shot you can cut a release on this? We'd love to use it for https://github.com/railwayapp/nixpacks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants