comparison Dockerfile @ 22:453fbe98925a draft

" master branch Updating with tag :CI_COMMIT_TAG - - Fxx"
author fgiacomoni
date Fri, 20 Nov 2020 17:29:18 +0000
parents
children 8f7546d0b925
comparison
equal deleted inserted replaced
21:63ba1cb240b7 22:453fbe98925a
1 # ref install: ubuntu 20.04
2 FROM ubuntu:20.04
3
4 # init var
5 ARG DEBIAN_FRONTEND=noninteractive
6
7 # set author
8 MAINTAINER Franck Giacomoni <franck.giacomoni.fr>
9
10 ###
11 ### [CONTAINER CORE FUNCTIONS]:
12 ### xxxx
13 ### xxxx
14 ### [NOTES]
15 ### xxxx
16
17 ENV PATH /opt/conda/bin:$PATH
18
19 RUN apt-get -y update &&\
20 apt-get -y install build-essential \
21 cpanminus \
22 gzip \
23 wget \
24 bzip2 \
25 ca-certificates \
26 libglib2.0-0 \
27 libxext6 \
28 libsm6 \
29 libxrender1 \
30 libtext-csv-perl \
31 libxml-twig-perl \
32 libfile-share-perl
33
34 RUN wget --quiet https://repo.anaconda.com/archive/Anaconda3-5.3.0-Linux-x86_64.sh -O ~/anaconda.sh && \
35 /bin/bash ~/anaconda.sh -b -p /opt/conda && \
36 rm ~/anaconda.sh && \
37 ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
38 echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
39 echo "conda activate base" >> ~/.bashrc
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 && \
51 apt-get clean && \
52 rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
53