Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #86 from NeuroDataDesign/satish
Browse files Browse the repository at this point in the history
Make Docker images branch specific
  • Loading branch information
tpsatish95 committed Dec 8, 2018
2 parents 0daab65 + c63d010 commit cbc27f8
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 8 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ RUN mkdir /root/code/
WORKDIR /root/code/

# clone the mgcpy code into the container
RUN git clone https://github.com/NeuroDataDesign/mgcpy.git .
ARG SOURCE_BRANCH=master
RUN git clone -b ${SOURCE_BRANCH} https://github.com/NeuroDataDesign/mgcpy.git .

# install python requirements
RUN pip install -r requirements.txt
Expand All @@ -99,9 +100,9 @@ RUN python setup.py build_ext --inplace
# add mgcpy to PYTHONPATH for dev purposes
RUN echo "export PYTHONPATH='${PYTHONPATH}:/root/code'" >> ~/.bashrc

# test if mgcpy is correctly installed
# clean dir and test if mgcpy is correctly installed
RUN py3clean .
RUN pytest
RUN python -c "import mgcpy"

# launch terminal
CMD ["/bin/bash"]
172 changes: 167 additions & 5 deletions mgcpy/benchmarks/mgc_python_performance.ipynb

Large diffs are not rendered by default.

Empty file modified mgcpy/independence_tests/unit_tests/mgc/__init__.py
100644 → 100755
Empty file.

0 comments on commit cbc27f8

Please sign in to comment.