Skip to content

Docker cache support #483

@tuler

Description

@tuler

📚 Context

cartesi build uses docker buildx build under the hood when building a docker drive.
Buildx support a powerful configurable cache system, including cache support when running in GitHub Actions.

cartesi build does not expose options to configure caching.
Caching would greatly improve build times of cartesi build in CI.

✔️ Solution

Allow a configuration at cartesi.toml docker drive to set --cache-to and --cache-from.

The current possible workaround is to build a docker image without using cartesi build, leveraging cache, and then using cartesi build with a pre-existing docker image with the image toml option.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status
PR Available

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions