From 81e0628c630db233a53c8b0c28a7dc4092980ea4 Mon Sep 17 00:00:00 2001 From: Emilio Palumbo Date: Mon, 15 Feb 2021 11:28:17 +0100 Subject: [PATCH] [ci skip] fix issue with sambamba repo checkout in Dockerfile --- docker/tool/sambamba/Dockerfile | 5 ++--- docker/tool/sambamba/Dockerfile.compile | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docker/tool/sambamba/Dockerfile b/docker/tool/sambamba/Dockerfile index b5530b1..70598cc 100644 --- a/docker/tool/sambamba/Dockerfile +++ b/docker/tool/sambamba/Dockerfile @@ -18,9 +18,8 @@ RUN apk --no-cache add -X http://dl-cdn.alpinelinux.org/alpine/edge/main \ ARG REVISION=v0.7.1 -RUN git clone --recursive https://github.com/biod/sambamba.git && \ - cd sambamba && git checkout $REVISION && \ - make static +RUN git clone --recursive https://github.com/biod/sambamba.git --branch $REVISION \ + && cd sambamba && make static FROM grapenf/base diff --git a/docker/tool/sambamba/Dockerfile.compile b/docker/tool/sambamba/Dockerfile.compile index cbfd09d..4fc6d1c 100644 --- a/docker/tool/sambamba/Dockerfile.compile +++ b/docker/tool/sambamba/Dockerfile.compile @@ -25,9 +25,8 @@ ENV \ ARG REVISION=v0.7.1 -RUN git clone --recursive https://github.com/biod/sambamba.git && \ - cd sambamba && git checkout $REVISION && \ - make +RUN git clone --recursive https://github.com/biod/sambamba.git --branch $REVISION \ + && cd sambamba && make FROM grapenf/base