From 413b4b47cbcbab737222ef2852778a8c7e1fa77a Mon Sep 17 00:00:00 2001 From: Bruno Borges Date: Tue, 16 Jun 2026 10:31:53 -0400 Subject: [PATCH 1/2] Update start.sh to use jaz jaz is the Azure Command Launcher for Java and it will auto tune the JVM based on resources available and JDK version used. To learn more: https://aka.ms/jaz --- center/deploy_startup/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/center/deploy_startup/start.sh b/center/deploy_startup/start.sh index 1530462c7..5d721774d 100644 --- a/center/deploy_startup/start.sh +++ b/center/deploy_startup/start.sh @@ -17,4 +17,4 @@ if ${CLAMAV_ENABLED}; then fi cd / -java -jar /app.jar --spring.profiles.active=${CENTER_APP_PROFILE} \ No newline at end of file +jaz -jar /app.jar --spring.profiles.active=${CENTER_APP_PROFILE} From f2d0415adacfd07d0a441a3686bda2151310677e Mon Sep 17 00:00:00 2001 From: Bruno Borges Date: Tue, 16 Jun 2026 10:50:25 -0400 Subject: [PATCH 2/2] Use jaz to launch the jvm --- agent/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/Dockerfile b/agent/Dockerfile index ec33709fc..86424b456 100644 --- a/agent/Dockerfile +++ b/agent/Dockerfile @@ -35,4 +35,4 @@ COPY ${JAR_FILE} /app.jar # Official doc about connecting package with repo: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#labelling-container-images LABEL org.opencontainers.image.source=https://github.com/microsoft/HydraLab -ENTRYPOINT ["java","-jar","/app.jar","--spring.profiles.active=docker"] \ No newline at end of file +ENTRYPOINT ["jaz","-jar","/app.jar","--spring.profiles.active=docker"]