-
Notifications
You must be signed in to change notification settings - Fork 362
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
RUN --mount=type=bind doesn't work #1226
Comments
The Docker remote API does not support buildkit as of now. |
I'm not sure what you mean by that. According to the Docker documentation, it appears that the remove driver does support BuildKit. |
We are not using the Docker executable with this plugin. We are using the RESTful API. |
It looks to me like the RESTful API does support BuildKit. The imageBuild API has a parameter called |
OK, seems like Docker added that to the API recently. Unfortunately, Docker Java, the wrapper around the Docker API, does not support it yet: docker-java/docker-java#2362 |
Expected Behavior
Use
RUN --mount=type=bind
to install dependencies in efficient manner. e.g. Dockerfile:Current Behavior
Fails with the following error:
Context
This Dockerfile works fine with command line
docker build .
The text was updated successfully, but these errors were encountered: