forked from AllenInstitute/dipde
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed bug AllenInstitute#7, and added dockerfiles for ubuntu and fedora
- Loading branch information
nicholasc
committed
Oct 3, 2016
1 parent
5ebf180
commit 3de5649
Showing
5 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.idea | ||
.cache | ||
update.sh | ||
doc | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
This version of dipde supports docker images for Fedora 24 and Ubuntu 16. Other OS versions may work, but are not currently tested; if you need a docker image that is not supported email the MAINTAINER for help. | ||
|
||
To build the docker images: | ||
1) Install docker: https://docs.docker.com/engine/installation/ | ||
2) cd to the dipde docker directory | ||
3) Run: | ||
3a) Fedora: docker build --tag alleninstitute/dipde:fedora24 -f ./fedora_24_python.dockerfile . | ||
3b) Ubuntu: docker build --tag alleninstitute/dipde:ubuntu16 -f ./ubuntu_16.04_python.dockerfile . | ||
4) Run the dipde tests to validate the installation: | ||
export DIPDEDIR=`pwd`'/../' | ||
4a) Fedora: docker run -v $DIPDEDIR:/python/dipde -t -i alleninstitute/dipde:fedora24 python setup.py test | ||
4b) Ubuntu: docker run -v $DIPDEDIR:/python/dipde -t -i alleninstitute/dipde:ubuntu16 python setup.py test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM fedora:24 | ||
|
||
MAINTAINER Nicholas Cain <[email protected]> | ||
|
||
RUN dnf -y install \ | ||
python \ | ||
python-matplotlib \ | ||
python-pip \ | ||
python-scipy \ | ||
python-pytest | ||
|
||
RUN pip install sympy | ||
ENV PYTHONPATH /python/dipde | ||
WORKDIR /python/dipde |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM ubuntu:16.04 | ||
|
||
MAINTAINER Nicholas Cain <[email protected]> | ||
|
||
RUN apt-get update | ||
RUN apt-get -y install python python-pip python-scipy python-pytest python-matplotlib | ||
|
||
RUN pip install sympy | ||
ENV PYTHONPATH /python/dipde | ||
WORKDIR /python/dipde |