# Use the official Eclipse Temurin + Maven image so we don't depend on # Debian apt mirrors, which intermittently refuse connections from # GitHub Actions runners and fail the CI build. This image already has # JDK 11 and Maven installed. FROM maven:3.9-eclipse-temurin-11 WORKDIR /app # Create source directory RUN mkdir -p src/main/java # Copy source and build files COPY SeekToBeginningTest.java src/main/java/ COPY pom.xml . # Compile and package RUN mvn clean package -DskipTests # Run the test ENTRYPOINT ["java", "-cp", "target/seek-test.jar", "SeekToBeginningTest"] CMD ["kafka-gateway:9093"]