diff --git a/src/.docker_modules/bioconvert/0.4.3/Dockerfile b/src/.docker_modules/bioconvert/0.4.3/Dockerfile index e2863bff8e118eca0d8a104e4d2c9ff341f52cf4..eb4dc3d0b625a93eb5b0ce5506956e8ad39aabbc 100644 --- a/src/.docker_modules/bioconvert/0.4.3/Dockerfile +++ b/src/.docker_modules/bioconvert/0.4.3/Dockerfile @@ -1,7 +1,16 @@ -FROM python:3.9-slim +FROM conda/miniconda3 +MAINTAINER Laurent Modolo ENV BIOCONVERT_VERSION="0.4.3" +RUN conda init \ +&& conda config --add channels r \ +&& conda config --add channels defaults \ +&& conda config --add channels conda-forge \ +&& conda config --add channels bioconda \ +&& conda create -y -n bioconvert +SHELL ["conda", "run", "-n", "bioconvert", "/bin/bash", "-c"] +RUN conda install bioconvert \ +&& echo "conda activate bioconvert" >> /root/.bashrc +RUN apt update && apt install -y procps -RUN apt update && apt install -y procps gcc zlib1g-dev && pip3 install bioconvert==${BIOCONVERT_VERSION} - -CMD [ "bash" ] +ENV PATH /usr/local/envs/bioconvert/bin:/usr/local/condabin:$PATH