view Dockerfile @ 0:7c9269bded0e draft

Init repository for [downloader_bank_hmdb]
author fgiacomoni
date Tue, 14 Jan 2020 05:21:23 -0500
parents
children be504ccbc41c
line wrap: on
line source

FROM ubuntu:18.04

# 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 python2.7 python-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/*