Skip to content

Commit 4496b91

Browse files
Base changed to python:3.13.12-slim. I was having some trouble with ubuntu:noble and using pip. Should be lighter than micromamba.
1 parent 7e8c5fc commit 4496b91

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

build-files/simplot-cl/1.0.3/Dockerfile

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
FROM mambaorg/micromamba:2.5.0-ubuntu24.04 AS app
1+
FROM python:3.13.12-slim AS app
22

33
ARG SIMPLOT_CL_VER="1.0.3"
44

5-
USER root
6-
75
WORKDIR /
86

9-
LABEL base.image="mambaorg/micromamba:2.5.0-ubuntu24.04"
7+
LABEL base.image="python:3.13.12-slim"
108
LABEL dockerfile.version="1"
119
LABEL software="simplot-cl"
1210
LABEL software.version="${SIMPLOT_CL_VER}"
@@ -20,7 +18,9 @@ LABEL maintainer.email="raheelsyedahmed@gmail.com"
2018
RUN apt-get update && apt-get install -y --no-install-recommends \
2119
wget \
2220
ca-certificates \
23-
procps && \
21+
procps \
22+
mafft \
23+
libgomp1 && \
2424
apt-get autoclean && rm -rf /var/lib/apt/lists/*
2525

2626
# Decompress source code in /opt and llink /opt/simplot-cl-1.0.3 to /usr/local/bin for discovery in python path.
@@ -32,14 +32,11 @@ RUN wget -q https://github.com/hodcroftlab/simplot-cl/archive/refs/tags/v${SIMPL
3232
chmod +x /opt/simplot-cl-1.0.3/simplot.py && \
3333
ln -s /opt/simplot-cl-${SIMPLOT_CL_VER}/simplot.py /usr/local/bin/simplot.py
3434

35-
# Install from environment available in source code folder.
36-
RUN micromamba install --name base -f /opt/simplot-cl-${SIMPLOT_CL_VER}/environment.yml -y && \
37-
micromamba clean -a -f -y && \
38-
mkdir /data
35+
# Install packages listed in installation steps for simplot-cl.
36+
RUN pip install --no-cache biopython pandas numpy matplotlib argcomplete
3937

4038
# Add micromamba packages to path and set locale.
41-
ENV PATH="/opt/conda/bin/:${PATH}" \
42-
LC_ALL=C.UTF-8
39+
ENV LC_ALL=C
4340

4441
WORKDIR /data
4542

@@ -51,8 +48,8 @@ FROM app AS test
5148

5249
ARG SIMPLOT_CL_VER="1.0.3"
5350

54-
# List micromamba dependencies
55-
RUN micromamba list -n base
51+
# List package dependencies
52+
RUN pip freeze
5653

5754
WORKDIR /test
5855

0 commit comments

Comments
 (0)