Skip to content

Commit

Permalink
add dask jupyter extension
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyinz committed Jun 12, 2024
1 parent 0fe13d4 commit cc4a153
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ RUN python -c "import site; print(site.getsitepackages()[0])" > site_packages_pa
sed -i "s/'localhost'/'127.0.0.1'/g" "${PYTHON_SITE_PACKAGES_PATH}/pymongo/pool.py" && \
rm site_packages_path.txt

# install Dask JupyterLab extension
RUN pip install dask-labextension && docker-clean

ENV PATH="${SPARK_HOME}/bin:${SPARK_HOME}/sbin:${PATH}"

# Set the default behavior of this container
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile_dev
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ RUN python -c "import site; print(site.getsitepackages()[0])" > site_packages_pa
sed -i "s/'localhost'/'127.0.0.1'/g" "${PYTHON_SITE_PACKAGES_PATH}/pymongo/pool.py" && \
rm site_packages_path.txt

# install Dask JupyterLab extension
RUN pip install dask-labextension && docker-clean

ENV PATH="${SPARK_HOME}/bin:${SPARK_HOME}/sbin:${PATH}"

# Set the default behavior of this container
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile_mpi
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ RUN python -c "import site; print(site.getsitepackages()[0])" > site_packages_pa
sed -i "s/'localhost'/'127.0.0.1'/g" "${PYTHON_SITE_PACKAGES_PATH}/pymongo/pool.py" && \
rm site_packages_path.txt

# install Dask JupyterLab extension
RUN pip install dask-labextension && docker-clean

ENV PATH="${SPARK_HOME}/bin:${SPARK_HOME}/sbin:${PATH}"

# Set the default behavior of this container
Expand Down

0 comments on commit cc4a153

Please sign in to comment.