Skip to content

Commit

Permalink
issues/277 updated samtools version
Browse files Browse the repository at this point in the history
  • Loading branch information
tpesout committed Apr 30, 2018
1 parent 690dad4 commit cba1ddb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions samtools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ RUN apt-get update && \
apt-get purge && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

ENV ZIP=samtools-1.5.tar.bz2
ENV URL=https://github.com/samtools/samtools/releases/download/1.5/
ENV FOLDER=samtools-1.5
ENV ZIP=samtools-1.8.tar.bz2
ENV URL=https://github.com/samtools/samtools/releases/download/1.8/
ENV FOLDER=samtools-1.8
ENV DST=/tmp

RUN wget $URL/$ZIP -O $DST/$ZIP && \
Expand Down
5 changes: 3 additions & 2 deletions samtools/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
build_tool = runtime-container.DONE
git_commit ?= $(shell git log --pretty=oneline -n 1 -- ../samtools | cut -f1 -d " ")
name = quay.io/ucsc_cgl/samtools
tag = 1.5--${git_commit}
tag = 1.8--${git_commit}

build: ${build_tool}

${build_tool}: Dockerfile
docker build -t ${name}:${tag} .
docker tag -f ${name}:${tag} ${name}:latest
-docker tag -f ${name}:${tag} ${name}:latest
-docker tag ${name}:${tag} ${name}:latest
touch ${build_tool}

push: build
Expand Down

0 comments on commit cba1ddb

Please sign in to comment.