-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (26 loc) · 741 Bytes
/
Dockerfile
File metadata and controls
35 lines (26 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM ubuntu as BowtieBin
RUN apt-get update
RUN apt-get install -y unzip
RUN apt-get install -y gcc
RUN apt-get install libncurses5 libncurses5-dev
RUN apt-get install zlib1g-dev
RUN apt-get install -y libbz2-dev
RUN apt-get install -y liblzma-dev
RUN apt-get install -y build-essential
RUN apt-get install -y curl
RUN apt-get install perl
RUN mkdir /data
WORKDIR /data
ADD https://github.com/samtools/samtools/releases/download/1.9/samtools-1.9.tar.bz2 .
RUN tar -xvf samtools-1.9.tar.bz2
WORKDIR samtools-1.9
RUN ./configure --prefix=/data
RUN make
RUN make install
WORKDIR /data/bin
RUN ls -alh
FROM biocontainers/bowtie2:v2.2.9_cv2
COPY --from=BowtieBin /data/bin/samtools /bin
COPY script.sh .
USER root
RUN chmod 777 script.sh