TAG ub2004_1.17: samtools 1.17 under Ubuntu 20.04 WITH ENTRYPOINT
TAG 119: samtools 1.19 under Ubuntu 20.04 WITH-OUT ENTRYPOINT
Dockerfile:
# FROM https://github.com/dceoy/docker-bio/blob/master/samtools/Dockerfile
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive
ADD https://raw.githubusercontent.com/dceoy/print-github-tags/master/print-github-tags /usr/local/bin/print-github-tags
RUN set -e \
&& ln -sf bash /bin/sh
RUN set -e \
&& apt-get -y update \
&& apt-get -y dist-upgrade \
&& apt-get -y install --no-install-recommends --no-install-suggests \
autoconf ca-certificates curl gcc gnuplot libbz2-dev libcurl4-gnutls-dev \
liblzma-dev libncurses5-dev libssl-dev libz-dev make pkg-config \
&& apt-get -y autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN set -eo pipefail \
&& chmod +x /usr/local/bin/print-github-tags \
&& print-github-tags --release --latest samtools/samtools \
| xargs -i curl -SL \
https://github.com/samtools/samtools/releases/download/{}/samtools-{}.tar.bz2 \
-o /tmp/samtools.tar.bz2 \
&& tar xvf /tmp/samtools.tar.bz2 -C /usr/local/src --remove-files \
&& mv /usr/local/src/samtools-* /usr/local/src/samtools \
&& cd /usr/local/src/samtools/htslib-* \
&& autoheader \
&& autoconf \
&& ./configure \
&& make \
&& make install \
&& cd .. \
&& autoheader \
&& autoconf \
&& ./configure \
&& make \
&& make install
ENTRYPOINT ["/usr/local/bin/samtools"]
Content type
Image
Digest
sha256:34501450b…
Size
351.3 MB
Last updated
about 1 year ago
docker pull jysgro/samtools:1.22