Skip to content

Commit b97feb8

Browse files
committed
fix: more docker file build issue fixes
1 parent 35b6523 commit b97feb8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Dockerfile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM continuumio/miniconda3 AS nmrkit-ms
1+
FROM continuumio/miniconda3:24.1.2-0 AS nmrkit-ms
22

33
ENV PYTHON_VERSION=3.10
44
ENV OPENBABEL_VERSION=v3.1
@@ -8,10 +8,12 @@ ENV RELEASE_VERSION=${RELEASE_VERSION}
88

99
# Install runtime dependencies
1010
RUN 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+
apt-get clean && \
16+
rm -rf /var/lib/apt/lists/* && \
1517
conda update -n base -c defaults conda
1618

1719
RUN apt-get update && apt-get -y install docker.io
@@ -23,7 +25,7 @@ RUN pip3 install rdkit
2325

2426
RUN python3 -m pip install -U pip
2527

26-
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64/
28+
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/
2729
RUN export JAVA_HOME
2830

2931
RUN git clone "https://github.com/rinikerlab/lightweight-registration.git" lwreg

0 commit comments

Comments
 (0)