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

Support Docker BuildKit #8

Merged
merged 5 commits into from
Jul 29, 2023

Conversation

filipsnastins
Copy link
Owner

@filipsnastins filipsnastins commented Jul 29, 2023

EphemeralDockerImage doesn't support building with BuildKit

docker/docker-py#2230

        for chunk in internal_stream:
            if 'error' in chunk:
>               raise BuildError(chunk['error'], result_stream)
E               docker.errors.BuildError: the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled

.venv/lib/python3.10/site-packages/docker/models/images.py:306: BuildError

@filipsnastins filipsnastins marked this pull request as ready for review July 29, 2023 07:58
@filipsnastins filipsnastins merged commit c49e775 into main Jul 29, 2023
@filipsnastins filipsnastins deleted the feature/build-docker-image-with-buildkit branch October 1, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant