moby / buildkit

concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
https://github.com/moby/moby/issues/34227
Apache License 2.0
8.21k stars 1.16k forks source link

HTTP Cache Storage Backend #4794

Open fkorotkov opened 7 months ago

fkorotkov commented 7 months ago

Description

Along side the existing backends I'd like to propose supporting a simple HTTP protocol used by build systems like Gradle, Bazel and many more. Many people already have such caches configured internally and they will be able to reuse them for building containers.

The protocol is a very simple REST:

Some link to Bazel and Gradle docs.

thaJeztah commented 7 months ago

This looks to be related to cache backends for buildkit; let me transfer this to the BuildKit issue tracker

thaJeztah commented 7 months ago

Possible duplicate / partial duplicate of;