瀏覽代碼

Install pyshtools build dependencies if binary wheel doesn't exist.

pull/1238/head
Matthew Petroff 3 月之前
父節點
當前提交
badf8812c3
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. +6
    -0
      utils/multires/Dockerfile

+ 6
- 0
utils/multires/Dockerfile 查看文件

@@ -7,6 +7,12 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
python3 python3-dev python3-pip python3-pil hugin-tools \
&& rm -rf /var/lib/apt/lists/*

# Install build dependencies for pyshtools only if binary wheel doesn't exist
RUN pip3 download --no-deps --only-binary :all: pyshtools==4.13.1 || \
(apt-get install -y --no-install-recommends \
gcc gfortran libfftw3-dev libopenblas-dev liblapack-dev pkg-config \
&& rm -rf /var/lib/apt/lists/*)
RUN pip3 install --break-system-packages pyshtools==4.13.1

ADD generate.py /generate.py


Loading…
取消
儲存