view Dockerfile @ 24:d8e2ede293a6 draft

Prod branch Updating with v.:CI_COMMIT_TAG- - Fxx
author fgiacomoni
date Thu, 19 May 2022 14:41:34 +0000
parents 453fbe98925a
children 8f7546d0b925
line wrap: on
line source

# 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/*