-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ FROM ubuntu:latest | |
|
||
RUN apt update && apt install -y build-essential git gfortran python3-pip | ||
|
||
RUN rm /usr/lib/python3.11/EXTERNALLY-MANAGED | ||
|
||
WORKDIR /opt | ||
RUN git clone https://github.com/esmf-org/esmf.git | ||
|
||
|
@@ -17,10 +15,10 @@ RUN make -j4 | |
ENV ESMFMKFILE=/opt/esmf/lib/libO/Linux.gfortran.64.mpiuni.default/esmf.mk | ||
|
||
WORKDIR /opt/esmf/src/addon/ESMPy | ||
RUN pip install numpy | ||
RUN pip install numpy --break-system-packages | ||
RUN python3 setup.py install | ||
|
||
RUN pip install git+https://github.com/pangeo-data/[email protected] | ||
|
||
COPY requirements.txt /tmp/requirements.txt | ||
RUN pip install -r /tmp/requirements.txt | ||
RUN pip install -r /tmp/requirements.txt --break-system-packages |