-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (20 loc) · 836 Bytes
/
Dockerfile
File metadata and controls
28 lines (20 loc) · 836 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
FROM ubuntu:14.04
MAINTAINER Jeltje van Baren, jeltje.van.baren@gmail.com
# Install tools
RUN apt-get update && apt-get install --yes openjdk-7-jre-headless \
unzip
# set location
ENV FASTQC_LOC http://www.bioinformatics.babraham.ac.uk/projects/fastqc
# Download and install FastQC; replace low java memory requirement in fastq perl code
WORKDIR /usr/local
ADD ${FASTQC_LOC}/fastqc_v0.11.5.zip /tmp/
RUN unzip /tmp/fastqc_v0.11.5.zip && sed -i 's/Xmx250m/Xmx2048m/' FastQC/fastqc && chmod 755 FastQC/fastqc
ENV PATH /usr/local/FastQC/:$PATH
# Set WORKDIR to /data -- predefined mount location.
RUN mkdir /data
WORKDIR /data
# The wrapper provides some feedback and cleanup
ADD ./wrapper.sh /usr/local/bin/
ENTRYPOINT ["bash", "/usr/local/bin/wrapper.sh"]
# And clean up
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*