Skip to content

Commit

Permalink
Merge pull request #77 from oesteban/fix/DockerHub
Browse files Browse the repository at this point in the history
fix dockerhub for real
  • Loading branch information
oesteban committed Apr 14, 2016
2 parents ec0887c + 5357428 commit 41e0345
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,18 @@ WORKDIR /root/src
# Install nipype & mriqc
RUN source activate crnenv && \
pip install --upgrade numpy && \
git clone $GIT_URL && \
git checkout $GIT_BRANCH && \
python -c "from matplotlib import font_manager"

RUN git clone $GIT_URL && \
cd mriqc && \
git checkout $GIT_BRANCH && \
source activate crnenv && \
pip install -e . && \
python -c "from matplotlib import font_manager" && \
python -c "from mriqc.data import get_brainweb_1mm_normal; get_brainweb_1mm_normal()"

WORKDIR /root/
ADD build/files/run_mriqc /usr/bin/run_mriqc
ADD build/files/run_tests /usr/bin/run_tests
ADD files/run_mriqc /usr/bin/run_mriqc
ADD files/run_tests /usr/bin/run_tests
RUN chmod +x /usr/bin/run_mriqc && \
chmod +x /usr/bin/run_tests

Expand Down

0 comments on commit 41e0345

Please sign in to comment.