Skip to content

Instantly share code, notes, and snippets.

@kozo2
Created June 27, 2014 08:23
Show Gist options
  • Save kozo2/9cedc247378ab09bcf3d to your computer and use it in GitHub Desktop.
Save kozo2/9cedc247378ab09bcf3d to your computer and use it in GitHub Desktop.
Dockerfile for cobrapy
FROM ubuntu:14.04
RUN apt-get update;apt-get install -y libglpk-dev libxml2-dev python-dev python-pip python-scipy wget swig
RUN wget http://downloads.sourceforge.net/project/sbml/libsbml/5.10.0/stable/libSBML-5.10.0-core-src.tar.gz
RUN tar xf libSBML-5.10.0-core-src.tar.gz
RUN cd libsbml-5.10.0/; ./configure --with-python; make; make install
RUN pip install cobra --pre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment