Last active
April 19, 2017 04:40
-
-
Save pansapiens/0e9b36cc1b11ce3c6e49dc81d09e30bf to your computer and use it in GitHub Desktop.
bcl2fastq 2.19 in Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################ | |
# Dockerfile to build bcl2fastq container images | |
# Based on CentOS images made by fatherlinux | |
# fatherlinux is a RedHat developer | |
# http://developerblog.redhat.com/2014/05/15/practical-introduction-to-docker-containers/ | |
# Fork from version by: Cyril Firmo <firmo@biologie.ens.fr> | |
############################################################ | |
# Build: | |
# docker build -t bcl2fastq:2.19.0.316 -t bcl2fastq:2.19 -t bcl2fastq:latest . | |
# | |
# Run: | |
# docker run -it --user `id -n -u`:`id -n -g` -v $(pwd):/output -v /data/illumina/my_run/:/run bcl2fastq /usr/local/bin/bcl2fastq -o /output -R /run | |
# | |
# Set the base image to CentOS 6 | |
FROM centos:6 | |
# File Author / Maintainer | |
MAINTAINER Andrew Perry <Andrew.Perry@monash.edu> | |
# Download and install wget, unzip, then bcl2fastq | |
RUN (yum -y --nogpgcheck install wget unzip && \ | |
cd /tmp && \ | |
wget https://support.illumina.com/content/dam/illumina-support/documents/downloads/software/bcl2fastq/bcl2fastq2-v2.19.0.316-Linux-x86_64.rpm && \ | |
yum -y --nogpgcheck localinstall /tmp/bcl2fastq2-*.rpm && \ | |
yum -y erase wget unzip && \ | |
yum -y clean all && \ | |
rm -rf /tmp/bcl2fastq*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment