From 573bf566c28b4056bdfc7e73d21ffcfa5876a759 Mon Sep 17 00:00:00 2001 From: Rishabh Date: Wed, 23 Sep 2026 09:49:14 +0530 Subject: [PATCH 1/2] chore: upgrade base image to eclipse-temurin 8 The runtime image openjdk:8-jre ships 8u342 and is officially deprecated by the docker-library maintainers. adoptopenjdk, used in the build stage, is deprecated as well; both recommend Eclipse Temurin as the replacement. 8u342 predates cgroup v2 support, which landed in 8u372 (JDK-8230305). On cgroup v2 nodes UseContainerSupport reports true but is inert, so the JVM reads host memory and CPU instead of the container limits, sizing the heap, GC threads and JIT threads for the node rather than the pod. Co-Authored-By: Claude Opus 5 (1M context) --- Dockerfile | 4 ++-- build.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 78dd2f5ca..a3f15d3f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM adoptopenjdk:8-jdk-openj9 AS GRADLE_BUILD +FROM eclipse-temurin:8-jdk AS GRADLE_BUILD RUN mkdir -p ./build/libs/ RUN curl -L http://search.maven.org/remotecontent?filepath=org/jolokia/jolokia-jvm/1.6.2/jolokia-jvm-1.6.2-agent.jar -o ./jolokia-jvm-agent.jar COPY ./ ./ RUN ./gradlew build -FROM openjdk:8-jre +FROM eclipse-temurin:8-jre COPY --from=GRADLE_BUILD ./build/libs/ /opt/firehose/bin COPY --from=GRADLE_BUILD ./jolokia-jvm-agent.jar /opt/firehose COPY --from=GRADLE_BUILD ./src/main/resources/log4j.xml /opt/firehose/etc/log4j.xml diff --git a/build.gradle b/build.gradle index ff49b9fff..03033ea72 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ lombok { } group 'org.raystack' -version '0.8.0' +version '0.8.1' def projName = "firehose" From 14fb3dd798a4527f6100175073d89fdd6824ec3b Mon Sep 17 00:00:00 2001 From: Rishabh Date: Wed, 23 Sep 2026 10:01:35 +0530 Subject: [PATCH 2/2] fix: drop unresolvable jfrog build-info dependencies build-info-extractor-gradle:4.4.7 and build-info-extractor:2.6.3 were published to JCenter only. JCenter is shut down and the Gradle Plugin Portal no longer proxies it, so neither artifact resolves from any configured repository and `./gradlew build` fails while configuring the root project. This also breaks `docker build`, since the image build stage runs the same command. Neither is used: no com.jfrog.artifactory plugin is applied and nothing under src/ references org.jfrog. Every other dependency, including the remaining buildscript classpath entry, resolves from Maven Central. Co-Authored-By: Claude Opus 5 (1M context) --- build.gradle | 2 -- 1 file changed, 2 deletions(-) diff --git a/build.gradle b/build.gradle index 03033ea72..f2c5fc530 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,6 @@ buildscript { } dependencies { classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.17' - classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.4.7" classpath "org.ajoberstar:gradle-git:1.6.0" } } @@ -87,7 +86,6 @@ dependencies { } implementation 'io.confluent:monitoring-interceptors:3.0.0' implementation 'io.grpc:grpc-all:1.53.0' - implementation group: 'org.jfrog.buildinfo', name: 'build-info-extractor', version: '2.6.3' implementation group: 'com.google.gradle', name: 'osdetector-gradle-plugin', version: '1.2.1' implementation group: 'org.apache.ivy', name: 'ivy', version: '2.2.0' implementation group: 'org.mongodb', name: 'mongo-java-driver', version: '3.12.8'