This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 1a05f39883f fix playground backend container builds (#30497)
1a05f39883f is described below

commit 1a05f39883fca49f8b8068a68a358dfe973055c0
Author: Vlado Djerek <[email protected]>
AuthorDate: Wed Mar 6 21:24:07 2024 +0100

    fix playground backend container builds (#30497)
    
    Co-authored-by: Vlado Djerek <[email protected]>
---
 playground/backend/containers/java/Dockerfile   | 2 +-
 playground/backend/containers/python/Dockerfile | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/playground/backend/containers/java/Dockerfile 
b/playground/backend/containers/java/Dockerfile
index f9d1b24b96d..5d5ce8019c8 100644
--- a/playground/backend/containers/java/Dockerfile
+++ b/playground/backend/containers/java/Dockerfile
@@ -49,7 +49,7 @@ RUN mvn archetype:generate \
     -DartifactId=pipeline-dependencies \
     -DgroupId=org.apache.beam.samples
 WORKDIR /pipeline-dependencies/
-RUN mvn dependency:resolve && mvn -o dependency:list
+RUN mvn dependency:resolve && mvn dependency:go-offline &&  mvn -o 
dependency:list
 RUN mvn dependency:copy-dependencies
 
 FROM apache/beam_java11_sdk:$BEAM_VERSION
diff --git a/playground/backend/containers/python/Dockerfile 
b/playground/backend/containers/python/Dockerfile
index 60a76f14f73..709a22eec96 100644
--- a/playground/backend/containers/python/Dockerfile
+++ b/playground/backend/containers/python/Dockerfile
@@ -64,7 +64,9 @@ COPY kafka-emulator/kafka-emulator.tar 
/opt/playground/backend/kafka-emulator/
 RUN cd /opt/playground/backend/kafka-emulator/ && tar -xvf kafka-emulator.tar 
&& rm kafka-emulator.tar &&\
     mv kafka-emulator/*.jar . && rmdir kafka-emulator/ &&\
     mv beam-playground-kafka-emulator-*.jar beam-playground-kafka-emulator.jar
-RUN apt-get update && apt-get install -y openjdk-11-jre-headless
+RUN apt-get update && \
+    wget 
http://http.us.debian.org/debian/pool/main/o/openjdk-11/openjdk-11-jre-headless_11.0.22+7-1~deb11u1_amd64.deb
 && \
+    apt install -y ./openjdk-11-jre-headless_11.0.22+7-1~deb11u1_amd64.deb
 
 # Create a user group `appgroup` and a user `appuser`
 RUN groupadd --gid 20000 appgroup \

Reply via email to