Created
February 20, 2021 05:26
-
-
Save kaitoii11/e4dccf44c4bc359f3f51cf03d211f9df to your computer and use it in GitHub Desktop.
Dockerfile to build libsbmlsim with Java binding
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
FROM openjdk:8-jdk as libsbmlsim | |
ENV LD_LIBRARY_PATH /usr/lib64 | |
RUN apt update && \ | |
apt -y upgrade && \ | |
apt install -y cmake g++ libbz2-dev swig wget && \ | |
wget -q http://downloads.sourceforge.net/project/sbml/libsbml/5.19.0/stable/Linux/64-bit/libSBML-5.19.0-Linux-x64.deb && \ | |
dpkg -i libSBML-5.19.0-Linux-x64.deb | |
RUN wget -q https://github.com/libsbmlsim/libsbmlsim/archive/v1.4.0.tar.gz -O libsbmlsim.tar.gz && \ | |
tar xzf libsbmlsim.tar.gz && \ | |
mkdir -p libsbmlsim-1.4.0/build | |
WORKDIR libsbmlsim-1.4.0/build | |
RUN cmake .. -D WITH_JAVA=ON && \ | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment