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

Make Docker images branch specific #86

Merged
merged 5 commits into from
Dec 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.