Skip to content

Commit e28ed02

Browse files
committed
Add Apache Beam installation to Dockerfile
1 parent e1e0637 commit e28ed02

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

playground/backend/containers/python/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,16 @@ RUN cd /opt/playground/backend/kafka-emulator/ && tar -xvf kafka-emulator.tar &&
6565
mv kafka-emulator/*.jar . && rmdir kafka-emulator/ &&\
6666
mv beam-playground-kafka-emulator-*.jar beam-playground-kafka-emulator.jar
6767
RUN apt-get update && \
68-
apt install openjdk-17-jre-headless -y
68+
apt install openjdk-17-jre-headless -y
6969

7070
# Create a user group `appgroup` and a user `appuser`
7171
RUN groupadd --gid 20000 appgroup \
7272
&& useradd --uid 20000 --gid appgroup --shell /bin/bash --create-home appuser
7373

7474
RUN mkdir -p /opt/playground/backend/executable_files/
7575

76+
RUN pip install apache-beam[gcp,interactive]==$BEAM_VERSION
77+
7678
# Chown all required files to the `appuser`.
7779
RUN chown -R appuser:appgroup /opt/playground/backend/executable_files/ && chmod +x /entrypoint.sh
7880

0 commit comments

Comments
 (0)