-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathDockerfile
More file actions
46 lines (36 loc) · 1.04 KB
/
Dockerfile
File metadata and controls
46 lines (36 loc) · 1.04 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM python:3.11-slim-bookworm@sha256:7cd3fa11d619688317226bc93dc59bc8966e9aec6bc2a6abb847e8ab7d656706
RUN apt-get update && apt-get install -y make \
software-properties-common \
libgeos-dev \
libopenmpi3 \
libopenmpi-dev \
libhdf5-serial-dev \
netcdf-bin \
libnetcdf-dev \
libproj-dev \
proj-bin \
proj-data \
python3 \
python3-pip \
git
RUN pip install --upgrade pip setuptools wheel
COPY . /pace
ENV SETUPTOOLS_SCM_PRETEND_VERSION_FOR_NDSL=2025.10.00
RUN cd /pace && \
pip install .[test]
RUN cd / && \
git clone https://github.com/ai2cm/fv3net
ENV CFLAGS="-I/usr/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1"
RUN python -m pip install \
matplotlib==3.10.0 \
ipyparallel==8.4.1 \
jupyterlab==3.4.4 \
shapely==1.8.5 \
cartopy==0.23.0 \
jupyterlab_code_formatter==1.5.2 \
isort==5.10.1 \
black>=22.3.0 \
/fv3net/external/vcm
ENV PYTHONPATH=/fv3net/external/fv3viz:/pace/external/gt4py/src
ENV OMPI_ALLOW_RUN_AS_ROOT=1
ENV OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1