spryker / docker-sdk

Spryker Commerce OS - Docker SDK
https://spryker.com
Other
36 stars 47 forks source link

Docker external cache sources #392

Open kj187 opened 1 year ago

kj187 commented 1 year ago

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 commented 1 year ago

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