Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Rebuild Docker image based on debian zlib-ng base
Browse files Browse the repository at this point in the history
  • Loading branch information
cflerin committed Mar 28, 2021
1 parent 4f07ec2 commit 9e6a267
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/popscle/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
FROM vibsinglecellnf/samtools:1.10
# source: https://github.com/vib-singlecell-nf/bwamaptools/blob/master/Dockerfile.samtools
FROM vibsinglecellnf/samtools:1.12

RUN apk add --virtual build-dependencies git cmake g++ curl
RUN echo 'deb http://deb.debian.org/debian testing main' > /etc/apt/sources.list.d/testing.list && \
apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
cmake

# Install popscle
RUN git clone --depth 1 https://github.com/statgen/popscle.git && \
cd popscle && \
mkdir build && \
cd build && \
RUN git clone --depth 1 https://github.com/statgen/popscle.git /tmp/popscle && \
mkdir -p /tmp/popscle/build && \
cd /tmp/popscle/build && \
cmake .. && \
make && \
cp /popscle/bin/popscle /usr/local/bin
cp /tmp/popscle/bin/popscle /usr/local/bin

# install bedtools
ENV BEDTOOLS_VERSION 2.29.2
ENV BEDTOOLS_VERSION 2.30.0
RUN curl -L -o /usr/local/bin/bedtools \
https://github.com/arq5x/bedtools2/releases/download/v${BEDTOOLS_VERSION}/bedtools.static.binary && \
chmod a+x /usr/local/bin/bedtools
Expand All @@ -23,6 +25,3 @@ RUN curl -L -o /usr/local/bin/bedtools \
RUN git clone --depth 1 https://github.com/aertslab/popscle_helper_tools.git /tmp/popscle_helper_tools && \
mv /tmp/popscle_helper_tools/*sh /usr/local/bin

RUN apk del build-dependencies && \
rm -rf /var/cache/apk/*

0 comments on commit 9e6a267

Please sign in to comment.