-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: simplified Dockerfile for improved installation
- Loading branch information
Showing
3 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Base OS | ||
FROM python:3.9-slim-buster | ||
|
||
ARG VERSION="0.0.4" | ||
ARG VERSION="0.0.5" | ||
ARG SIMULATOR_VERSION=3.0.0b | ||
|
||
# metadata | ||
|
@@ -28,8 +28,7 @@ LABEL \ | |
maintainer="BioSimulators Team <[email protected]>" | ||
|
||
# Install GINsim | ||
RUN mkdir -p /usr/share/man/man1/ \ | ||
&& apt-get update -y \ | ||
RUN apt-get update -y \ | ||
&& apt-get install -y --no-install-recommends \ | ||
default-jre \ | ||
wget \ | ||
|
@@ -44,12 +43,16 @@ RUN mkdir -p /usr/share/man/man1/ \ | |
wget \ | ||
&& apt-get autoremove -y \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
ENV PATH=/usr/local/share/colomoto/bin:$PATH | ||
|
||
# Copy code for command-line interface into image and install it | ||
COPY . /root/Biosimulators_GINsim | ||
RUN pip install /root/Biosimulators_GINsim \ | ||
&& rm -rf /root/Biosimulators_GINsim | ||
RUN mkdir -p /.config/matplotlib \ | ||
&& mkdir -p /.cache/matplotlib \ | ||
&& chmod ugo+rw /.config/matplotlib \ | ||
&& chmod ugo+rw /.cache/matplotlib \ | ||
&& python -c "import matplotlib.font_manager" | ||
ENV VERBOSE=0 \ | ||
MPLBACKEND=PDF | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '0.0.4' | ||
__version__ = '0.0.5' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
biosimulators_utils[logging,sbml] >= 0.1.104 | ||
ginsim | ||
kisao >= 2.20 | ||
biosimulators_utils[logging,sbml] >= 0.1.110 | ||
ginsim >= 0.4.4 | ||
kisao >= 2.27 | ||
lxml | ||
numpy |