Skip to content

Commit

Permalink
fix playground backend container builds (#30497)
Browse files Browse the repository at this point in the history
Co-authored-by: Vlado Djerek <[email protected]>
  • Loading branch information
volatilemolotov and volatilemolotov authored Mar 6, 2024
1 parent 314bd72 commit 1a05f39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playground/backend/containers/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion playground/backend/containers/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 1a05f39

Please sign in to comment.