Skip to content

Commit

Permalink
minor clean-up in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
eirrgang committed Apr 30, 2018
1 parent bc1feae commit 7b6b777
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ RUN pip install --upgrade setuptools --user

RUN wget https://github.com/kassonlab/gmxapi/archive/$BRANCH.zip && \
unzip $BRANCH.zip && \
mv gmxapi-$BRANCH /home/jovyan/gmxpy
mv gmxapi-$BRANCH /home/jovyan/gmxpy && \
rm $BRANCH.zip

RUN (cd /home/jovyan/gmxpy && \
gmxapi_DIR=/home/jovyan/install/gromacs pip install . --upgrade --verbose)

# Test with
# docker run --rm -ti gmxapi/gmxapi bash -c "cd gmxpy && mpiexec -n 2 python -m mpi4py -m pytest --log-cli-level=DEBUG --pyargs gmx -s --verbose"
# docker run --cpus 2 --rm -ti gmxapi/gmxapi bash -c "cd gmxpy && mpiexec -n 2 python -m mpi4py -m pytest --log-cli-level=DEBUG --pyargs gmx -s --verbose"

0 comments on commit 7b6b777

Please sign in to comment.