nelse003 / exhaustive_search

Testing exhaustive search algorithms for crystallographic occupancy refinement and surrounding problems
0 stars 0 forks source link

Fix Travis CI integration #85

Closed nelse003 closed 5 years ago

nelse003 commented 6 years ago

CI not currently working due to size of build

nelse003 commented 6 years ago

Trying to build just cctbx:

FROM UBUNTU
RUN apt-get update
RUN apt-get -y install wget
RUN apt-get -y install python2.7

RUN mkdir cctbx
WORKDIR cctbx
#RUN wget https://raw.githubusercontent.com/cctbx/cctbx_project/master/libtbx/auto_build/bootstrap.py
RUN ls
RUN python2.7 ./bootstrap.py

Fails in source build: unsure how.

Also fails from binary build

RUN apt-get update
RUN apt-get -y install wget
RUN apt-get -y install python2.7
RUN wget http://cci.lbl.gov/cctbx_build/dev-1502/cctbx-installer-dev-1502-intel-linux-2.6-x86_64-centos6.tar.gz
RUN tar -xvf cctbx-installer-dev-1502-intel-linux-2.6-x86_64-centos6.tar.gz
RUN mkdir ./cctbx
WORKDIR cctbx-installer-dev-1502-intel-linux-2.6-x86_64-centos6
RUN ./install --prefix="/cctbx"
RUN rm cctbx-installer-dev-1502-intel-linux-2.6-x86_64-centos6.tar.gz

Reducing the size of the build also seems difficult due to the layered process used in docker containers. Moving rm commands onto the same line still doesn't reduce the overall container size.

nelse003 commented 5 years ago

Works currently. may resurface after a few more builds