annotate Dockerfile @ 0:94eeed7f737f draft default tip

planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
author fgiacomoni
date Fri, 27 Nov 2020 10:06:35 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
1 # ref install: ubuntu 20.04
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
2 FROM ubuntu:20.04
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
3
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
4 # init var
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
5 ARG DEBIAN_FRONTEND=noninteractive
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
6
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
7 # set author
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
8 MAINTAINER Franck Giacomoni <franck.giacomoni.fr>
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
9
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
10 ###
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
11 ### [CONTAINER CORE FUNCTIONS]:
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
12 ### xxxx
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
13 ### xxxx
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
14 ### [NOTES]
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
15 ### xxxx
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
16
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
17 ENV PATH /opt/conda/bin:$PATH
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
18
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
19 RUN apt-get -y update &&\
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
20 apt-get -y install build-essential \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
21 cpanminus \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
22 gzip \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
23 wget \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
24 bzip2 \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
25 ca-certificates \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
26 libglib2.0-0 \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
27 libxext6 \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
28 libsm6 \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
29 libxrender1 \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
30 libtext-csv-perl \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
31 libxml-twig-perl \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
32 libfile-share-perl
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
33
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
34 RUN wget --quiet https://repo.anaconda.com/archive/Anaconda3-5.3.0-Linux-x86_64.sh -O ~/anaconda.sh && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
35 /bin/bash ~/anaconda.sh -b -p /opt/conda && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
36 rm ~/anaconda.sh && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
37 ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
38 echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
39 echo "conda activate base" >> ~/.bashrc
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
40
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
41 RUN cpan install ExtUtils::MakeMaker && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
42 cpan install File::ShareDir::Install && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
43 cpan install Module::Release && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
44 cpan install Archive::Zip && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
45 apt -y install git &&\
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
46 apt -y install python3 python3-pip && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
47 apt -y install virtualenv && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
48 pip install "pip>=7" && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
49 pip install -U git+git://github.com/galaxyproject/planemo.git && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
50 apt-get autoremove -y && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
51 apt-get clean && \
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
52 rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
94eeed7f737f planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
fgiacomoni
parents:
diff changeset
53