98b08af4a3
fix: Remove network.host and simplify Buildx configuration
...
Issues fixed:
- Remove --network=host (not allowed by daemon config)
- Remove --mount=type=cache from Dockerfile (compatibility)
- Simplify builder management and error handling
- Keep caches on build failure for faster retries
- Use standard Docker layer caching instead of BuildKit mount
This should resolve the 'granting entitlement network.host is not allowed' error.
2025-06-24 09:08:13 +08:00
1f90427fb7
feat: Enable Docker Buildx for faster and more reliable builds
...
Features:
- Enable Docker Buildx with advanced caching
- Add BuildKit cache mount for Maven dependencies
- Use Aliyun Maven mirror for faster dependency downloads
- Optimize Docker layer caching strategy
- Add automatic cache cleanup to prevent disk overflow
- Increase build timeout to 30 minutes
- Add buildx builder instance management
Performance improvements:
- Parallel builds with Buildx
- Persistent Maven cache with RUN --mount=type=cache
- Layer-optimized Dockerfile structure
- Automatic cache rotation
This should significantly reduce Docker build time and improve reliability.
2025-06-24 00:08:36 +08:00
b285211b6c
fix: add execute permission to mvnw script in Docker build
2025-06-23 23:17:37 +08:00
caa85bc6e8
perf: optimize Docker build - use Alpine images, add timeout handling and retry logic
2025-06-23 22:36:43 +08:00
877335f73f
Initial commit: Jenkins CI/CD Demo Project with Spring Boot 3
2025-06-23 16:50:28 +08:00