Skip to content

Commit

Permalink
Per #15, correct name of Python package as pyyaml.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway committed Nov 7, 2023
1 parent ccf57c8 commit e18d712
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,15 @@ RUN wget https://www.python.org/ftp/python/${PYTHON_VER}/Python-${PYTHON_VER}.tg
&& make install \
&& ln -s /usr/local/bin/python3 /usr/local/bin/python \
&& BLDOPTS="--force-reinstall --global-option=build_ext --global-option=\"-R/usr/local/lib\" --global-option=\"-L/usr/local/lib\"" \
&& python3 -m pip install --upgrade pip \
&& python3 -m pip install ${BLDOPTS} numpy \
&& python3 -m pip install --upgrade pip

#
# Install required Python packages
#
RUN python3 -m pip install ${BLDOPTS} numpy \
&& python3 -m pip install ${BLDOPTS} xarray \
&& export HDF5_DIR=/usr/local/ \
&& export NETCDF4_DIR=/usr/local/ \
&& python3 -m pip install ${BLDOPTS} netCDF4 \
&& python3 -m pip install ${BLDOPTS} yaml
&& python3 -m pip install ${BLDOPTS} pyyaml

0 comments on commit e18d712

Please sign in to comment.