Skip to content

Commit

Permalink
Add startup file.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Apr 6, 2023
1 parent 69904e4 commit 1f12a88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ RUN curl -L -o ~/mambaforge.sh https://github.com/conda-forge/miniforge/releases
/bin/bash ~/mambaforge.sh -b -p /opt/conda && \
rm ~/mambaforge.sh
RUN . /opt/conda/etc/profile.d/conda.sh && conda create --yes --name redmapper-env
RUN echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
echo "conda activate redmapper-env" >> ~/.bashrc
RUN echo ". /opt/conda/etc/profile.d/conda.sh" > /opt/redmapper/startup.sh && \
echo "conda activate redmapper-env" >> /opt/redmapper/startup.sh

RUN . /opt/conda/etc/profile.d/conda.sh && conda activate redmapper-env && \
mamba install --yes python=3.10 numpy scipy astropy matplotlib pyyaml gsl c-compiler fitsio esutil healpy healsparse hpgeom && \
Expand Down

0 comments on commit 1f12a88

Please sign in to comment.