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

Cannot use Buildkit because of wrongly defined env #18

Closed
hugobritobh opened this issue May 10, 2023 · 3 comments
Closed

Cannot use Buildkit because of wrongly defined env #18

hugobritobh opened this issue May 10, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@hugobritobh
Copy link
Contributor

I was alternating in versions 15.2 and 5.0.

Version 5 (using the jammy image, I haven't tested other distributions) gives an error in :

rootlesskit buildkitd --oci-worker-no-process-sandbox --addr $BUILDKIT_HOST &

and consequently :

buildctl build ...

To resolve, add the value of the variable:

export BUILDKIT_HOST=unix:///run/app-root/0/buildkit/buildkitd.sock

With this change version 5 works

@hugobritobh hugobritobh changed the title Problem Version 5 (Linux - Jammy) Possible Problem Version 5 (Linux - Jammy) May 10, 2023
@clemlesne
Copy link
Owner

clemlesne commented May 10, 2023

Just pushed an attempt to address the issue: 45c923d.

You can use version 5.1.1-1.45c923d (build job).

Can you give me feedback?

@clemlesne clemlesne self-assigned this May 10, 2023
@clemlesne clemlesne added the bug Something isn't working label May 10, 2023
@clemlesne clemlesne changed the title Possible Problem Version 5 (Linux - Jammy) Cannot use Buildkit because of wrongly defined env May 10, 2023
@clemlesne
Copy link
Owner

It is working perfectly on my side. Merge: 2c2f97e

@clemlesne
Copy link
Owner

Version 5.2.1 deployed (build job).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants