Skip to content

Multiarch native build #270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
Mar 6, 2025
Merged

Multiarch native build #270

merged 33 commits into from
Mar 6, 2025

Conversation

febus982
Copy link
Owner

@febus982 febus982 commented Mar 6, 2025

  • Build multiarch images build with native workers (removes QEMU)
  • Switch to registry based cache for better docker buildx support

@febus982 febus982 changed the title Try multiarch native build Multiarch native build Mar 6, 2025
febus982 added 8 commits March 6, 2025 13:45
This change introduces build cache mounts for both APT package management and UV commands in the Dockerfile. These updates reduce redundant downloads and improve build performance by leveraging cached data across builds. The new configuration enhances efficiency while maintaining current behavior.
Introduce caching for UV and APT files to optimize Docker builds. Use `actions/cache` for storing cache and `buildkit-cache-dance` for injecting caches into the build process. This reduces redundant downloads, improving CI efficiency and build speeds.
This ensures proper user and group ownership for cache directories when mounting during build steps. It improves compatibility with non-root users and prevents potential permission issues in CI/CD pipelines or local development environments.
@febus982 febus982 force-pushed the multiarch-docker-without-qemu branch from ae53877 to 970b5ed Compare March 6, 2025 14:56
Copy link

Code Climate has analyzed commit 3840e45 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (100% is the threshold).

This pull request will bring the total coverage in the repository to 100.0% (0.0% change).

View more on Code Climate.

@febus982 febus982 merged commit f8668b1 into main Mar 6, 2025
11 checks passed
@febus982 febus982 deleted the multiarch-docker-without-qemu branch March 6, 2025 18:05
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