2022-01-18 13:36:06 -07:00
|
|
|
FROM ubuntu:18.04
|
2022-01-18 12:51:55 -07:00
|
|
|
|
2022-01-18 13:36:06 -07:00
|
|
|
LABEL base_image="ubuntu:18.04"
|
2022-01-18 12:51:55 -07:00
|
|
|
LABEL version="1.0.0"
|
|
|
|
|
LABEL software="bioSimAPI"
|
|
|
|
|
LABEL software.version="1.0.0"
|
|
|
|
|
LABEL about.summary="API for SynBioHub/SBOLCanvas communication with iBioSim"
|
|
|
|
|
LABEL about.home="https://github.com/MyersResearchGroup/iBioSim"
|
|
|
|
|
LABEL about.documentation="https://github.com/MyersResearchGroup/iBioSim"
|
|
|
|
|
LABEL about.license_file="https://github.com/MyersResearchGroup/iBioSim/blob/master/LICENSE.txt"
|
|
|
|
|
LABEL about.license="Apache-2.0"
|
|
|
|
|
LABEL about.tags="kinetic modeling,dynamical simulation,systems biology,biochemical networks,SBML,SED-ML,COMBINE,OMEX,BioSimulators"
|
|
|
|
|
LABEL maintainer="Chris Myers <chris.myers@colorado.edu>"
|
|
|
|
|
|
|
|
|
|
# Install requirements
|
|
|
|
|
RUN apt-get update --fix-missing \
|
|
|
|
|
&& DEBIAN_FRONTEND=noninteractive \
|
2022-01-18 13:36:06 -07:00
|
|
|
&& apt-get install -y maven \
|
|
|
|
|
&& apt-get install python3.7 -y \
|
|
|
|
|
&& apt-get install python3-pip -y \
|
|
|
|
|
&& apt install openjdk-8-jdk -y
|
2022-01-18 12:51:55 -07:00
|
|
|
|
|
|
|
|
# Build iBioSim
|
2022-01-26 11:54:06 -07:00
|
|
|
WORKDIR /iBioSim
|
2022-01-26 11:57:49 -07:00
|
|
|
COPY . .
|
2022-01-18 12:51:55 -07:00
|
|
|
RUN mvn package -Dmaven.javadoc.skip=true
|
2022-01-26 11:54:06 -07:00
|
|
|
WORKDIR /
|
|
|
|
|
|
2022-01-18 12:51:55 -07:00
|
|
|
RUN apt-get -y install build-essential \
|
|
|
|
|
&& apt-get -y install dos2unix \
|
|
|
|
|
&& apt-get -y install libxml2-dev
|
|
|
|
|
|
|
|
|
|
# Build reb2sac
|
2022-01-26 15:49:15 -07:00
|
|
|
WORKDIR iBioSim/Dependencies
|
2022-01-18 12:51:55 -07:00
|
|
|
RUN chmod +x newbuild.sh \
|
|
|
|
|
&& dos2unix newbuild.sh \
|
|
|
|
|
&& sh newbuild.sh
|
|
|
|
|
WORKDIR /
|
|
|
|
|
|
|
|
|
|
ENV LC_ALL=C.UTF-8
|
|
|
|
|
ENV LANG=C.UTF-8
|