Skip to content
Snippets Groups Projects
Commit b2737f4f authored by Gael  MILLOT's avatar Gael MILLOT
Browse files

test

parent c5996ee3
Branches
Tags
No related merge requests found
# bcftools
# https://github.com/samtools/bcftools/releases/tag/1.14
# v1.14
# base image: ubuntu:16.04 + coreutils v8.30 + gawk v5.1.0 + bc v1.07 + git v2.33.1
FROM gmillot/bash-extended_v2.0:gitlab_v3.0
# Warning: the name must be exactly what is written in the docker images interface, or sudo docker image ls
LABEL Gael.Millot=gael.millot@pasteur.fr
LABEL gitlab.dockerfiles="https://gitlab.pasteur.fr/gmillot/dockerfiles"
ENV BCFTOOLS_VERSION=1.14
ENV HTS_VERSION=1.14
RUN apt-get update --fix-missing \
&& apt-get install -y wget gcc make git libbz2-dev zlib1g zlib1g-dev liblzma5 liblzma-dev libncurses5 libncurses5-dev bzip2 libcurl4-openssl-dev libssl-dev libgetopt-complete-perl \
&& cd /usr/local/ \
&& git clone https://github.com/samtools/htslib.git \
&& cd htslib && git checkout ${HTS_VERSION} \
&& cd .. \
&& git clone https://github.com/samtools/bcftools.git \
&& cd bcftools \
&& git checkout ${BCFTOOLS_VERSION} \
&& make \
&& make install \
&& rm -rf /usr/local/bcftools \
&& rm -rf /usr/local/htslib \
# end coreutils install
# && apt-get remove -y wget tar xz-utils make gcc \ # inactivated because generate errors of pkg dependency
# important to remove the dependencies after installation to save space in the image that will be built
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["/bin/bash"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment