Skip to content

Conversation

andrew-scott-fischer
Copy link
Contributor

Fixes disk space exhaustion during Docker builds in GitHub Actions CI by using BuildKit cache mounts for the yarn cache directory.

Changes

  • Modified Dockerfile to use --mount=type=cache for yarn cache
  • Yarn cache is now excluded from Docker image layers
  • Cache persists between builds on the same runner

Benefits

  • Fixes "no space left on device" errors in CI
  • Reduces final image size (yarn cache not included)
  • Maintains or improves build performance (persistent cache)

Ticket: VL-3537

Excludes yarn cache from Docker image layers by using BuildKit cache mounts.
This prevents "no space left on device" errors during CI builds while
maintaining fast build times through persistent cache between runs.

Ticket: VL-3537
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant