From cad953c33a2d1e0ed715eb6a5a9661e239c28241 Mon Sep 17 00:00:00 2001 From: suman_karumuri Date: Wed, 7 Feb 2024 09:24:34 -0800 Subject: [PATCH] Fix build issues. --- Dockerfile | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c9dcf5d3ab..d152abb700 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,4 +5,4 @@ RUN cd /work; mvn package -DskipTests FROM amazoncorretto:21 COPY --from=build /work/kaldb/target/kaldb.jar / COPY --from=build /work/config/config.yaml / -ENTRYPOINT [ "java", "-jar", "./kaldb.jar", "config.yaml" ] +ENTRYPOINT [ "java", "--enable-preview", "-jar", "./kaldb.jar", "config.yaml" ] diff --git a/docker-compose.yml b/docker-compose.yml index 4d501292e4..0ba8f85f3e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: - ALLOW_ANONYMOUS_LOGIN=yes kafka: - image: 'bitnami/kafka:3.2.3' + image: 'bitnami/kafka:latest' container_name: kaldb_kafka ports: - '9092:9092'