comparison Dockerfile @ 25:8f7546d0b925 draft

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