Skip to content

Commit

Permalink
fail early fail cheap
Browse files Browse the repository at this point in the history
  • Loading branch information
subwaystation committed Mar 13, 2024
1 parent 927c188 commit 8c5b8da
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ RUN apt-get update \
&& apt-get purge \
&& rm -rf /var/lib/apt/lists/*

# current bcftools
RUN wget https://github.com/samtools/bcftools/releases/download/1.19/bcftools-1.19.tar.bz2 \
&& tar xjf bcftools-1.19.tar.bz2 \
&& cd bcftools-1.19/ && ./configure --prefix=/usr/local/bin/ && make && make install && export PATH=/usr/local/bin/bin:$PATH && cd .. && cp /usr/local/bin/bin/* /usr/local/bin/

RUN bcftools

RUN git clone --recursive https://github.com/waveygang/wfmash \
&& cd wfmash \
&& git pull \
Expand Down Expand Up @@ -177,13 +184,6 @@ RUN wget https://github.com/arq5x/bedtools2/releases/download/v2.31.0/bedtools.s
&& mv bedtools.static /usr/local/bin/bedtools \
&& chmod +x /usr/local/bin/bedtools

# current bcftools
RUN wget https://github.com/samtools/bcftools/releases/download/1.19/bcftools-1.19.tar.bz2 \
&& tar xjf bcftools-1.19.tar.bz2 \
&& cd bcftools-1.19/ && ./configure --prefix=/usr/local/bin/ && make && make install && export PATH=/usr/local/bin/bin:$PATH && cd .. && cp /usr/local/bin/bin/* /usr/local/bin/

RUN bcftools

# copy required scripts
COPY scripts/* /usr/local/bin/
COPY scripts /usr/local/bin/scripts/
Expand Down

0 comments on commit 8c5b8da

Please sign in to comment.