-
Notifications
You must be signed in to change notification settings - Fork 33
Docker build fails on Step 8 : RUN cd oncotator/ && python setup.py install #348
Comments
I wonder if this is related to the travis failures. @lbergelson On Fri, Apr 8, 2016 at 4:04 PM, Alan Hoyle notifications@github.com wrote:
Lee Lichtenstein |
There's something wrong with the build in general. I'm seeing the same error. If I try to install it myself. |
I'm testing it now on my machine. On Fri, Apr 8, 2016 at 5:25 PM, Louis Bergelson notifications@github.com
Lee Lichtenstein |
It looks like removing the
|
(installing the docker image) On Fri, Apr 8, 2016 at 5:28 PM, Lee Lichtenstein <
Lee Lichtenstein |
Note that if I try to run an interactive build by running (takes a while to get to it, but it's doing some cython/numpy installation along the way)
|
Are you guys both on mac? On Fri, Apr 8, 2016 at 5:29 PM, Alan Hoyle notifications@github.com wrote:
Lee Lichtenstein |
I'm just installing locally in a venv, not running the docker build. On a mac. I assume the docker isn't running mac though? |
Docker definitely not. On Fri, Apr 8, 2016 at 5:30 PM, Louis Bergelson notifications@github.com
Lee Lichtenstein |
Boom:
On Fri, Apr 8, 2016 at 5:31 PM, Lee Lichtenstein <
Lee Lichtenstein |
Oddly enough CGA (Broad internal) is running the docker image without On Fri, Apr 8, 2016 at 5:37 PM, Lee Lichtenstein <
Lee Lichtenstein |
(I just sent email to confirm that they made no changes) On Fri, Apr 8, 2016 at 5:38 PM, Lee Lichtenstein <
Lee Lichtenstein |
I'm running an older version of Docker (1.2.0) on a Centos 6.2 compute node. |
I had to upgrade docker to 1.6.x from 1.5.0 to get the docker image to On Fri, Apr 8, 2016 at 5:46 PM, Alan Hoyle notifications@github.com wrote:
Lee Lichtenstein |
I just had it complete successfully by changing the first line in the docker file to |
Yep, it's definitely Docker 1.2.0. The cluster is definitely in need of an update as that's apparently the latest version of Docker that supports Centos 6.2. I noticed the Docker page talking about Centos says that they support Centos 7+ https://docs.docker.com/engine/installation/linux/centos/ Guess it's time to talk to our admins.... |
I think the docker image might work anyway if you change the docker file as
|
Also, I think these issues will go away in v1.9.x On Fri, Apr 8, 2016 at 6:12 PM, Lee Lichtenstein <
Lee Lichtenstein |
@alanhoyle I believe that if v1.9.x (coming soon) does not fix your issues, then you likely do have a problem on your end. |
Closed by #344 |
One of my co-workers made a build that works using an interactive session rather than a Dockerfile. He documented his steps and he started with the CentOs image, rather than Python2, but it shouldn't be too hard to make a Dockerfile. (there are obvious things to improve, e.g. combining the yum and pip commands, using curl and piping its output directly to tar, etc.) Since you all are saying that 1.9.x is due soon, it might not be worth the effort to convert. $ docker run -i -t centos /bin/bash # at the regular command line
[root@...] # imagine these prompts inside the container for the rest:
cd /
yum -y install wget
yum -y install python-devel.x86_64
yum -y install gcc
yum -y install gcc-c++
yum -y install zlib-devel
yum -y install unzip
yum -y install bzip2
yum -y install make
wget https://github.com/broadinstitute/oncotator/archive/v1.8.0.0.tar.gz
rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
yum -y install python-pip
pip install bcbio-gff
pip install biopython
pip install cython
pip install nose
pip install numpy
pip install pandas
pip install shove
pip install sqlalchemy
cd /
wget https://pysam.googlecode.com/files/pysam-0.7.5.tar.gz
tar -zxvf pysam-0.7.5.tar.gz
cd pysam-0.7.5
python setup.py install
pip install python-memcached
cd /
wget https://github.com/elephanthunter/PyVCF/archive/master.zip
unzip master.zip
cd PyVCF-master/
python setup.py install
cd /
wget https://sourceforge.net/projects/samtools/files/tabix/tabix-0.2.6.tar.bz2/download
mv download tabix-0.2.6.tar.bz2
bzip2 -d tabix-0.2.6.tar.bz2
tar -xvf tabix-0.2.6.tar
cd tabix-0.2.6
make
cp tabix /usr/bin/
yum -y install samtools
cd /
wget https://github.com/broadinstitute/oncotator/archive/v1.8.0.0.tar.gz
tar -zxvf v1.8.0.0.tar.gz
cd oncotator-1.8.0.0/
python setup.py install |
I just released 1.9.x On Fri, Apr 15, 2016 at 2:53 PM, Alan Hoyle notifications@github.com
Lee Lichtenstein |
I downloaded the oncotator-1.8.0.0 tar.gz, and was trying to build the docker image. It's failng at step 8 for me.
The text was updated successfully, but these errors were encountered: