Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jomrdjan committed Dec 19, 2023
1 parent 01f4cb6 commit 57c5f41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jupyterlab-streaming/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM jupyter/base-notebook:python-3.8

ENV TZ=US/Arizona
ENV MAVEN_CLI_OPTS="--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
ENV FLINK_HOME="/opt/conda/lib/python3.8/site-packages/pyflink"
ARG PYFLINK_LIB_DIR="/opt/conda/lib/python3.8/site-packages/pyflink/lib/"

Expand Down Expand Up @@ -43,5 +42,5 @@ RUN pip install pip --upgrade \

RUN mkdir -p /var/tmp/flink-deps/
COPY ./pom.xml /var/tmp/flink-deps/pom.xml
RUN mvn `$MAVEN_CLI_OPTS` -f /var/tmp/flink-deps/pom.xml dependency:copy-dependencies -DoutputDirectory=`$PYFLINK_LIB_DIR` && \
RUN mvn --batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true -f /var/tmp/flink-deps/pom.xml dependency:copy-dependencies -DoutputDirectory="$PYFLINK_LIB_DIR" && \
rm -rf ~/.m2/repository && rm -rf /var/tmp/flink-deps

0 comments on commit 57c5f41

Please sign in to comment.