Skip to content

Distroless builds - httpserver-java17-spring-petclinic-distroless - #459

Open
Teodorandrei22 wants to merge 1 commit into
unikraft-cloud:mainfrom
Teodorandrei22:feat/httpserver-java17-spring-petclinic-distroless
Open

Teodorandrei22 wants to merge 1 commit into
unikraft-cloud:mainfrom
Teodorandrei22:feat/httpserver-java17-spring-petclinic-distroless

Conversation

@Teodorandrei22

Copy link
Copy Markdown
Contributor

-Add distroless variant of httpserver-java17-spring-petclinic example.
-Use gcr.io/distroless/java17-debian13 as runtime base.
-Add Dockerfile, Kraftfile, README, and test file.

Add distroless variant of httpserver-java17-spring-petclinic example.
Add Dockerfile, Kraftfile, README, and test file.

Signed-off-by: Teodor Constantinescu <constantinescu.teodor22@gmail.com>
@Teodorandrei22
Teodorandrei22 force-pushed the feat/httpserver-java17-spring-petclinic-distroless branch from aed9312 to b96f345 Compare September 3, 2026 11:18
@razvand
razvand requested a lite review from Copilot September 17, 2026 19:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃煝 Approval recommended

The runtime, launch command, artifact path, documentation, and end-to-end test are consistent.

Pull request overview

Adds a distroless Java 17 Spring PetClinic example using the Debian 13 distroless runtime.

Changes:

  • Adds reproducible Spring PetClinic build configuration.
  • Configures Unikraft to run the packaged JAR.
  • Adds deployment documentation and an end-to-end test.
File summaries
File Description
Dockerfile Builds PetClinic and uses the distroless Java runtime.
Kraftfile Defines the x86_64 target and Java launch command.
README.md Documents building, deployment, and customization.
test_*.py Verifies the deployed PetClinic page.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 0
  • Review effort level: Lite

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants