Skip to content

Commit 21d42e7

Browse files
committed
Port demo images to Java 25
1 parent 6b1bab2 commit 21d42e7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

demo/integration-tests/tci-webapp-rest/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1-labs
22
# Note: This Dockerfile is used by the integration tests for compiling the app when there was no image was supplied
3-
ARG JAVA_VERSION=21
3+
ARG JAVA_VERSION=25
44
FROM eclipse-temurin:${JAVA_VERSION}-jre-alpine AS jre-base
55

66

@@ -111,7 +111,7 @@ COPY --from=builder --chown=${user}:${group} /builder/extracted/snapshot-depende
111111
RUN true
112112
COPY --from=builder --chown=${user}:${group} /builder/extracted/application/ ./
113113

114-
ENV JAVA_OPTS="-XX:MaxRAMPercentage=75 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=30 -Djava.awt.headless=true"
114+
ENV JAVA_OPTS="-XX:MaxRAMPercentage=75 -XX:MinHeapFreeRatio=30 -XX:MaxHeapFreeRatio=50 -XX:+UseCompactObjectHeaders -Djava.awt.headless=true"
115115

116116
EXPOSE 8080
117117

demo/integration-tests/tci-webapp-vaadin/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1-labs
22
# Note: This Dockerfile is used by the integration tests for compiling the app when there was no image was supplied
3-
ARG JAVA_VERSION=21
3+
ARG JAVA_VERSION=25
44
FROM eclipse-temurin:${JAVA_VERSION}-jre-alpine AS jre-base
55

66

@@ -117,7 +117,7 @@ COPY --from=builder --chown=${user}:${group} /builder/extracted/snapshot-depende
117117
RUN true
118118
COPY --from=builder --chown=${user}:${group} /builder/extracted/application/ ./
119119

120-
ENV JAVA_OPTS="-XX:MaxRAMPercentage=75 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=30 -Djava.awt.headless=true"
120+
ENV JAVA_OPTS="-XX:MaxRAMPercentage=75 -XX:MinHeapFreeRatio=30 -XX:MaxHeapFreeRatio=50 -XX:+UseCompactObjectHeaders -Djava.awt.headless=true"
121121

122122
EXPOSE 8080
123123

0 commit comments

Comments
 (0)