0
|
1 FROM ubuntu:18.04
|
|
2
|
|
3 # set author
|
|
4 MAINTAINER Franck Giacomoni <franck.giacomoni.fr>
|
|
5
|
|
6 ###
|
|
7 ### [CONTAINER CORE FUNCTIONS]:
|
|
8 ### xxxx
|
|
9 ### xxxx
|
|
10 ### [NOTES]
|
|
11 ### xxxx
|
|
12
|
|
13 ENV PATH /opt/conda/bin:$PATH
|
|
14
|
|
15 RUN apt-get -y update &&\
|
|
16 apt-get -y install build-essential \
|
|
17 cpanminus \
|
|
18 gzip \
|
|
19 wget \
|
|
20 bzip2 \
|
|
21 ca-certificates \
|
|
22 libglib2.0-0 \
|
|
23 libxext6 \
|
|
24 libsm6 \
|
|
25 libxrender1 \
|
|
26 libtext-csv-perl \
|
|
27 libxml-twig-perl \
|
|
28 libfile-share-perl
|
|
29
|
|
30 RUN wget --quiet https://repo.anaconda.com/archive/Anaconda3-5.3.0-Linux-x86_64.sh -O ~/anaconda.sh && \
|
|
31 /bin/bash ~/anaconda.sh -b -p /opt/conda && \
|
|
32 rm ~/anaconda.sh && \
|
|
33 ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
|
|
34 echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
|
|
35 echo "conda activate base" >> ~/.bashrc
|
|
36
|
|
37 RUN cpan install ExtUtils::MakeMaker && \
|
|
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 && \
|
|
49 apt-get clean && \
|
|
50 rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
51
|