view Dockerfile @ 2:23970530a518 draft

master branch Updating with tag :CI_COMMIT_TAG - - Fxx
author fgiacomoni
date Tue, 17 Jan 2023 10:31:32 +0000
parents e2cbcf6fa22e
children
line wrap: on
line source

#FROM pfem/perlfull
FROM python:3.8-buster

# set author
LABEL maintainer="franck.giacomoni@inrae.fr"

ENV PLANEMO_VENV_LOCATION /planemo-venv
ENV CONDA /tmp/conda


RUN apt-get update &&\
    apt-get upgrade -y &&\
    apt-get install --no-install-recommends --yes build-essential \
    	git \
        libgl1-mesa-glx \
        libegl1-mesa \
        libxrandr2 \
        libxss1 \
        libxcursor1 \
        libxcomposite1 \
        libasound2 \
        libxi6 \
        libxtst6 \
#        python3 \
#        python3-pip \
        python-virtualenv && \
    pip install virtualenv && \
    python3 -m virtualenv "$PLANEMO_VENV_LOCATION" && \
    . "$PLANEMO_VENV_LOCATION"/bin/activate && \
    pip install --upgrade pip setuptools && \
    pip install planemo numpy && \
    pip install -U planemo && \
    #planemo conda_init --conda_prefix "$CONDA" && \
    apt-get autoremove -y && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*  && \
    rm -rf /tmp/*  && \
    rm -rf /var/tmp/*  && \
    rm -rf /usr/bin/X11 ;
    
CMD []