Prerequisites
Feature Description
In order to speedup repeated builds, add ccache to the Dockerfiles.
Please note: I am not familiar with the project's build environment/needs.
Motivation
speedup repeated builds
Possible Implementation
An approach could involve the following changes in the builder-stage:
- install
ccache
- use a mount in the build step for caching like:
RUN --mount=type=cache,target=/root/.cache/ccache ...
add ccache directory to .gitignore
Prerequisites
Feature Description
In order to speedup repeated builds, add ccache to the Dockerfiles.
Please note: I am not familiar with the project's build environment/needs.
Motivation
speedup repeated builds
Possible Implementation
An approach could involve the following changes in the builder-stage:
ccacheRUN --mount=type=cache,target=/root/.cache/ccache ...add ccache directory to .gitignore