Skip to content

Commit

Permalink
Check conda dir (#24)
Browse files Browse the repository at this point in the history
* DEL: Remove old conda dir line

* ADD: Add ls for checking conda env

* ADD: add list of conda dir
  • Loading branch information
mgrover1 authored Jun 24, 2024
1 parent ada32c0 commit 01f8268
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions binder/appendix.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ RUN apt update && \
rm -rf /tmp/lrose.deb

USER ${NB_USER}
RUN ls /srv/conda/envs && \
RADARENV=erad-2024-dev && \
RUN CONDA_DIR=/srv/conda && \
RADARENV=notebook && \
CONDA_PREFIX=$CONDA_DIR/envs/$RADARENV && \
export PROJ_NETWORK=ON && \
export BALTRAD_INSTALL_ROOT=${PWD} && \
echo "export CONDA_DIR=$CONDA_DIR" >> ~/.profile && \
echo "export RADARENV=$RADARENV" >> ~/.profile && \
echo "export CONDA_PREFIX=$CONDA_PREFIX" >> ~/.profile && \
echo "export PROJ_NETWORK=$PROJ_NETWORK" >> ~/.profile && \
ls ${CONDA_PREFIX}/bin/
${CONDA_PREFIX}/bin/bash -l $BALTRAD_INSTALL_ROOT/install/baltrad/install_baltrad.sh && \
${CONDA_PREFIX}/bin/bash -l $BALTRAD_INSTALL_ROOT/install/nbstripout_notebooks.sh && \
cp binder/kernel.json $CONDA_PREFIX/share/jupyter/kernels/python3/.

0 comments on commit 01f8268

Please sign in to comment.