comparison Dockerfile @ 2:be504ccbc41c draft default tip

master branch Updating with tag :CI_COMMIT_TAG - - Fxx
author fgiacomoni
date Wed, 30 Nov 2022 16:14:27 +0000
parents 7c9269bded0e
children
comparison
equal deleted inserted replaced
1:4373f936111d 2:be504ccbc41c
1 FROM ubuntu:18.04 1 #FROM pfem/perlfull
2 FROM python:3.8-buster
2 3
3 # set author 4 # set author
4 MAINTAINER Franck Giacomoni <franck.giacomoni.fr> 5 LABEL maintainer="franck.giacomoni@inrae.fr"
5 6
6 ### 7 ENV PLANEMO_VENV_LOCATION /planemo-venv
7 ### [CONTAINER CORE FUNCTIONS]: 8 ENV CONDA /tmp/conda
8 ### xxxx
9 ### xxxx
10 ### [NOTES]
11 ### xxxx
12 9
13 ENV PATH /opt/conda/bin:$PATH
14 10
15 RUN apt-get -y update &&\ 11 RUN apt-get update &&\
16 apt-get -y install build-essential \ 12 apt-get upgrade -y &&\
17 cpanminus \ 13 apt-get install --no-install-recommends --yes build-essential \
18 gzip \ 14 git \
19 wget \ 15 libgl1-mesa-glx \
20 bzip2 \ 16 libegl1-mesa \
21 ca-certificates \ 17 libxrandr2 \
22 libglib2.0-0 \ 18 libxss1 \
23 libxext6 \ 19 libxcursor1 \
24 libsm6 \ 20 libxcomposite1 \
25 libxrender1 \ 21 libasound2 \
26 libtext-csv-perl \ 22 libxi6 \
27 libxml-twig-perl \ 23 libxtst6 \
28 libfile-share-perl 24 # python3 \
29 25 # python3-pip \
30 RUN wget --quiet https://repo.anaconda.com/archive/Anaconda3-5.3.0-Linux-x86_64.sh -O ~/anaconda.sh && \ 26 python-virtualenv && \
31 /bin/bash ~/anaconda.sh -b -p /opt/conda && \ 27 pip install virtualenv && \
32 rm ~/anaconda.sh && \ 28 python3 -m virtualenv "$PLANEMO_VENV_LOCATION" && \
33 ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \ 29 . "$PLANEMO_VENV_LOCATION"/bin/activate && \
34 echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \ 30 pip install --upgrade pip setuptools && \
35 echo "conda activate base" >> ~/.bashrc 31 pip install planemo numpy && \
36 32 pip install -U planemo && \
37 RUN cpan install ExtUtils::MakeMaker && \ 33 #planemo conda_init --conda_prefix "$CONDA" && \
38 cpan install File::ShareDir::Install && \
39 cpan install Module::Release &&\
40 cpan install Archive::Zip &&\
41
42 apt -y install git &&\
43 apt -y install python2.7 python-pip &&\
44 apt -y install virtualenv &&\
45 pip install "pip>=7" &&\
46 pip install -U git+git://github.com/galaxyproject/planemo.git &&\
47
48 apt-get autoremove -y && \ 34 apt-get autoremove -y && \
49 apt-get clean && \ 35 apt-get clean && \
50 rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 36 rm -rf /var/lib/apt/lists/* && \
51 37 rm -rf /tmp/* && \
38 rm -rf /var/tmp/* && \
39 rm -rf /usr/bin/X11 ;
40
41 CMD []