1- FROM continuumio/miniconda3 AS nmrkit-ms
1+ FROM continuumio/miniconda3:24.1.2-0 AS nmrkit-ms
22
33ENV PYTHON_VERSION=3.10
44ENV OPENBABEL_VERSION=v3.1
55
66ARG RELEASE_VERSION
77ENV RELEASE_VERSION=${RELEASE_VERSION}
88
9- # Install runtime dependencies
9+ # Install runtime and build dependencies
1010RUN apt-get update && \
11- apt-get install -y software-properties-common && \
12- apt-get update -y && \
13- apt-get install -y openjdk-11-jre && \
14- apt-get install -y curl && \
11+ apt-get install -y --no-install-recommends \
12+ software-properties-common \
13+ openjdk-17-jre \
14+ curl \
15+ build-essential \
16+ gcc \
17+ g++ \
18+ git \
19+ wget && \
20+ apt-get clean && \
21+ rm -rf /var/lib/apt/lists/* && \
1522 conda update -n base -c defaults conda
1623
1724RUN apt-get update && apt-get -y install docker.io
@@ -23,7 +30,7 @@ RUN pip3 install rdkit
2330
2431RUN python3 -m pip install -U pip
2532
26- ENV JAVA_HOME /usr/lib/jvm/java-11 -openjdk-amd64/
33+ ENV JAVA_HOME= /usr/lib/jvm/java-17 -openjdk-amd64/
2734RUN export JAVA_HOME
2835
2936RUN git clone "https://github.com/rinikerlab/lightweight-registration.git" lwreg
@@ -34,8 +41,7 @@ WORKDIR /code
3441COPY ./requirements.txt /code/requirements.txt
3542COPY ./alembic.ini /code/alembic.ini
3643
37- RUN pip3 install --upgrade setuptools pip && \
38- apt-get update && apt-get install -y git
44+ RUN pip3 install --upgrade setuptools pip
3945
4046RUN pip3 install --no-cache-dir -r /code/requirements.txt
4147
0 commit comments