From 896fd6e5b66ff8d7f98ff2948cfef0cf971175fe Mon Sep 17 00:00:00 2001 From: Ian Date: Fri, 24 May 2024 13:57:25 -0700 Subject: [PATCH] fix: compile bowtie2 from scratch --- Dockerfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab3876f..aeffe54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,12 @@ FROM debian:bookworm as bowtie2 WORKDIR /build -RUN apt-get update && apt-get install -y unzip wget -RUN wget https://github.com/BenLangmead/bowtie2/releases/download/v2.5.4/bowtie2-2.5.4-linux-x86_64.zip -RUN unzip bowtie2-2.5.4-linux-x86_64.zip -RUN mkdir bowtie2 -RUN cp bowtie2-2.5.4-linux-x86_64/bowtie2* bowtie2 +RUN apt-get update && apt-get install -y build-essential cmake wget zlib1g-dev +RUN wget https://github.com/BenLangmead/bowtie2/archive/refs/tags/v2.5.4.tar.gz +RUN tar -xvf v2.5.4.tar.gz +WORKDIR bowtie2-2.5.4 +RUN make +RUN mkdir /build/bowtie2 +RUN cp bowtie2* /build/bowtie2/ FROM debian:bookworm as spades WORKDIR /build