diff Dockerfile @ 0:94eeed7f737f draft default tip

planemo upload commit 399d2714dd85043f2ed8bdeff05bb1ccd4c5dd29
author fgiacomoni
date Fri, 27 Nov 2020 10:06:35 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Dockerfile	Fri Nov 27 10:06:35 2020 +0000
@@ -0,0 +1,53 @@
+# ref install: ubuntu 20.04
+FROM ubuntu:20.04
+
+# init var
+ARG DEBIAN_FRONTEND=noninteractive
+
+# set author
+MAINTAINER Franck Giacomoni <franck.giacomoni.fr>
+
+### 
+### [CONTAINER CORE FUNCTIONS]: 
+###   xxxx
+###   xxxx
+### [NOTES] 
+###   xxxx
+
+ENV PATH /opt/conda/bin:$PATH
+
+RUN apt-get -y update &&\
+    apt-get -y install build-essential \
+        cpanminus \
+        gzip \
+        wget \
+        bzip2 \
+        ca-certificates \
+        libglib2.0-0  \
+        libxext6  \
+        libsm6  \
+        libxrender1 \
+        libtext-csv-perl \
+        libxml-twig-perl \
+        libfile-share-perl
+
+RUN wget --quiet https://repo.anaconda.com/archive/Anaconda3-5.3.0-Linux-x86_64.sh -O ~/anaconda.sh && \
+    /bin/bash ~/anaconda.sh -b -p /opt/conda && \
+    rm ~/anaconda.sh && \
+    ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
+    echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
+    echo "conda activate base" >> ~/.bashrc
+
+RUN cpan install ExtUtils::MakeMaker && \
+    cpan install File::ShareDir::Install && \
+    cpan install Module::Release && \
+    cpan install Archive::Zip && \
+    apt -y install git &&\
+    apt -y install python3 python3-pip && \
+    apt -y install virtualenv && \
+    pip install "pip>=7" && \
+    pip install -U git+git://github.com/galaxyproject/planemo.git && \
+    apt-get autoremove -y && \
+    apt-get clean && \
+    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
+