From 2a2470181dc564748f7432d4bd520eaa576e6f3c Mon Sep 17 00:00:00 2001 From: Jonathan Karr Date: Sun, 29 Aug 2021 12:14:51 -0400 Subject: [PATCH] chore: simplified Dockerfile for improved installation --- Dockerfile | 11 +++++++---- biosimulators_ginsim/_version.py | 2 +- requirements.txt | 6 +++--- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4bd86ba..1dab6da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 " # 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 diff --git a/biosimulators_ginsim/_version.py b/biosimulators_ginsim/_version.py index 156d6f9..eead319 100644 --- a/biosimulators_ginsim/_version.py +++ b/biosimulators_ginsim/_version.py @@ -1 +1 @@ -__version__ = '0.0.4' +__version__ = '0.0.5' diff --git a/requirements.txt b/requirements.txt index b009a96..8308622 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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