Skip to content

Commit

Permalink
Merge pull request #537 from LSSTDESC/docker_update
Browse files Browse the repository at this point in the history
fix dockerfile for new version
  • Loading branch information
elisachisari authored Dec 14, 2018
2 parents 55a62d1 + 953b089 commit 0a5e2a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ RUN apt-get install -y libgsl-dev libfftw3-dev
RUN pip install numpy scipy matplotlib jupyter

# Installing CCL C library
RUN git clone https://github.com/LSSTDESC/CCL && cd CCL && \
mkdir -p build && (cd build; cmake .. ; make install)
RUN git clone https://github.com/LSSTDESC/CCL && cd CCL && git checkout releases/1.0 && \
mkdir -p build && (cd build; cmake .. ; make; make install)

# Installing CCL Python module
RUN pip install git+git://github.com/LSSTDESC/CCL.git
RUN cd CCL && python setup.py install

ENV LD_LIBRARY_PATH /usr/local/lib
ENV PKG_CONFIG_PATH /usr/local/lib/pkgconfig

WORKDIR /home/CCL
WORKDIR /CCL

CMD jupyter notebook --no-browser --allow-root --port=8888 --ip=0.0.0.0

0 comments on commit 0a5e2a2

Please sign in to comment.