@@ -19,7 +19,7 @@ RUN apt-get update && \
19
19
20
20
RUN apt-get update && \
21
21
apt-get install -y software-properties-common && \
22
- add-apt-repository ppa:deadsnakes/ppa && \
22
+ add-apt-repository ppa:deadsnakes/ppa && \
23
23
apt-get update && \
24
24
apt-get install -y python3.9 python3.9-dev python3.9-distutils && \
25
25
apt-get clean && \
@@ -29,13 +29,14 @@ ENV PYTHONUNBUFFERED=1 \
29
29
PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
30
30
LANG=C.UTF-8
31
31
32
+ # Cartopy>=0.20 requires proj>=8.0.0 but it will ship on Ubuntu 22.04.
32
33
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.9 && \
33
34
python3.9 -m pip install --no-cache-dir -U setuptools && \
34
35
python3.9 -m pip install --no-cache-dir h5py && \
35
36
python3.9 -m pip install --no-cache-dir Cython && \
36
37
python3.9 -m pip install --no-cache-dir matplotlib bokeh && \
37
38
python3.9 -m pip install --no-cache-dir versioneer && \
38
- python3.9 -m pip install --no-cache-dir pyproj Cartopy && \
39
+ python3.9 -m pip install --no-cache-dir pyproj cartopy==0.19.0.post1 && \
39
40
python3.9 -m pip install --no-cache-dir pandas && \
40
41
python3.9 -m pip install --no-cache-dir seaborn && \
41
42
python3.9 -m pip install --no-cache-dir pillow && \
@@ -55,6 +56,7 @@ RUN python3.9 -m ipykernel install --display-name "Python 3.9 on Backend.AI" &&
55
56
cat /usr/local/share/jupyter/kernels/python3/kernel.json
56
57
57
58
# Backend.AI specifics
59
+ COPY ./service-defs /etc/backend.ai/service-defs
58
60
LABEL ai.backend.kernelspec="1" \
59
61
ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,OMP_NUM_THREADS,NPROC" \
60
62
ai.backend.features="batch query uid-match user-input" \
0 commit comments