Skip to content

Commit

Permalink
switched os to ubuntu from debian
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByDrescher committed Feb 1, 2024
1 parent ecad6a2 commit aa7c27c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ RUN $JAVA_HOME/bin/jlink \
--output /javaruntime

# Define base image and copy in jlink created minimal Java 17 environment
FROM python:3.9.7-slim
FROM ubuntu:jammy
ENV JAVA_HOME=/opt/java/openjdk
ENV PATH "${JAVA_HOME}/bin:${PATH}"
COPY --from=jre-build /javaruntime $JAVA_HOME

# now we have Java 17 and Python 3.9

ARG SIMULATOR_VERSION="7.5.0.11"
ARG MAX_JAVA_MEM=0
# Make sure you don't sap all of docker's memory when you set this.
Expand Down Expand Up @@ -47,8 +46,11 @@ LABEL \
about.tags="rule-based modeling,kinetic modeling,dynamical simulation,systems biology,BNGL,SED-ML,COMBINE,OMEX" \
maintainer="BioSimulators Team <[email protected]>"

RUN apt-get -y update
RUN apt-get install -y --no-install-recommends curl dnsutils apt-utils libfreetype6 fontconfig fonts-dejavu
ENV DEBIAN_FRONTEND noninteractive
RUN apt -y update && apt install -y software-properties-common
RUN add-apt-repository ppa:deadsnakes/ppa -y
RUN apt install -y --no-install-recommends curl python3.9-full python3-pip build-essential dnsutils \
apt-utils libfreetype6 fontconfig fonts-dejavu

RUN mkdir -p /usr/local/app/vcell/lib && \
mkdir -p /usr/local/app/vcell/simulation && \
Expand Down

0 comments on commit aa7c27c

Please sign in to comment.