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

Docker external cache sources #392

Open
kj187 opened this issue Nov 18, 2022 · 1 comment
Open

Docker external cache sources #392

kj187 opened this issue Nov 18, 2022 · 1 comment

Comments

@kj187
Copy link
Contributor

kj187 commented Nov 18, 2022

I am not sure, if this is just a missing feature or if there is a reason that the docker/sdk does not support external cache sources.

https://docs.docker.com/engine/reference/commandline/build/#specifying-external-cache-sources

As background information, the docker/sdk for local usage is awesome, but we also run it in our CI for tests and building images.
In CI we dont have a shared docker cache, if we use a custom remote docker cache (which could be possible) we get problems with mounting files. So, the best improvement would be to use external cache sources. (--build-arg BUILDKIT_INLINE_CACHE=1 --cache-from IMAGE:latest)

So my first question is, is this just a missing feature until now or is there a reason that the docker/sdk does not support that?

@alexanderM91
Copy link
Collaborator

alexanderM91 commented Nov 24, 2022

Hi @kj187,

Unfortunately I cannot answer for your question about inline cache usage but we definitely have to refresh our memory about the current topic. We will put it into our backlog.

Thanks a lot for your contribution.

cc: @alexfoxpetrov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants