Skip to content

Commit

Permalink
sys-prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Feb 1, 2024
1 parent c7833bc commit 27d4d04
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions images/nasa-openscapes.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ COPY install.R install.R
RUN Rscript install.R && rm install.R

RUN wget https://github.com/NASA-Openscapes/corn/raw/main/ci/environment.yml && \
conda env create -f environment.yml
conda env create -p openscapes -f environment.yml

# some teaching preferences
RUN git config --global pull.rebase false

COPY conda_init.sh /etc/profile.d/conda_init.sh
RUN bash -c conda_init.sh


RUN $CONDA_ENV/envs/openscapes/bin/python -m pip install ipykernel && $CONDA_ENV/envs/openscapes/bin/python -m ipykernel install --user --name=openscapes
RUN $CONDA_ENV/envs/openscapes/bin/python -m pip install ipykernel&& \
$CONDA_ENV/envs/openscapes/bin/python -m ipykernel install --sys-prefix --name=openscapes

0 comments on commit 27d4d04

Please sign in to comment.