-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.multi
More file actions
28 lines (23 loc) · 852 Bytes
/
Dockerfile.multi
File metadata and controls
28 lines (23 loc) · 852 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
FROM ghcr.io/martinluttap/bio-ubuntu:1.0.0 AS builder
ARG VERSION
ENV URL=http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v${VERSION}.zip
RUN apt-get update \
&& apt-get install -y \
build-essential \
libfontconfig1 \
openjdk-11-jre-headless \
perl-modules \
wget \
unzip \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Example download and compile step
ADD $URL /usr/local/bin
RUN cd /usr/local/bin \
&& unzip fastqc_v${VERSION}.zip \
&& rm -rf fastqc_v${VERSION}.zip \
&& sed -i 's/kmer[[:space:]]\+ignore[[:space:]]\+1/kmer ignore 0/' $PWD/FastQC/Configuration/limits.txt \
&& sed -i 's/assistive_technologies/#assistive_technologies/' /etc/java-11-openjdk/accessibility.properties \
&& chmod 755 FastQC/fastqc \
&& ln -s $PWD/FastQC/fastqc /usr/local/bin/fastqc
# ENTRYPOINT ["/usr/local/bin/fastqc"]