[EB-9] Modernize Dockerfile base images to Maven 3.9.0 and Eclipse Temurin 17 JRE #23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket: EB-9
Changes Made
This PR modernizes the Docker base images in the Dockerfile as part of infrastructure improvements related to Epic EB-1 (Spring Boot 3.4.9 upgrade).
Specific Updates:
maven:3.8.3-openjdk-17tomaven:3.9.0-eclipse-temurin-17openjdk:17-alpinetoeclipse-temurin:17-jre-alpineBenefits
-jre-alpineinstead of full JDK reduces the final image size and attack surfaceTesting
✅ Docker image builds successfully
✅ Build stage completes with Maven 3.9.0 and Eclipse Temurin 17
✅ Final image size: 234MB
✅ Multi-stage build process preserved
✅ Application JAR correctly copied to runtime stage
Image Size Comparison
The JRE-only runtime approach provides a smaller, more secure production image while maintaining full Java 17 compatibility.
Link to Devin run: https://app.devin.ai/sessions/bc687391ae194f33937bed131312e76d
Requested by: Alex Peng (alex.peng@windsurf.com) (@alexjpeng)