-
Notifications
You must be signed in to change notification settings - Fork 5
/
Dockerfile
25 lines (21 loc) · 823 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM continuumio/miniconda3:4.9.2
RUN conda create -n perf-dev -c conda-forge \
python=3.8 \
dask \
distributed \
compilers \
Cython \
uvloop \
ipython \
viztracer \
&& conda clean --all -y \
&& echo "conda activate perf-dev" >> ~/.bashrc
ENV PATH /opt/conda/envs/perf-dev/bin:$PATH
# Ensure subsequent RUN commands happen within the perf-dev conda environment
SHELL ["conda", "run", "-n", "perf-dev", "/bin/bash", "-c"]
# Install development versions of dask and (cythonized) distributed
RUN conda uninstall --force dask distributed \
&& python -m pip install git+https://github.com/dask/dask.git@master \
&& git clone https://github.com/dask/distributed.git \
&& cd distributed \
&& python -m pip install -vv --no-deps --install-option="--with-cython=profile" .