mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 06:03:10 +00:00
28 lines
977 B
Docker
28 lines
977 B
Docker
# Dockerfile to create container with Cell Ranger v7.0.0
|
|
# Push to nfcore/cellranger:<VER>
|
|
|
|
FROM continuumio/miniconda3:4.8.2
|
|
LABEL authors="Gisela Gabernet <gisela.gabernet@gmail.com>" \
|
|
description="Docker image containing Cell Ranger"
|
|
# Disclaimer: this container is not provided nor supported by Illumina or 10x Genomics.
|
|
|
|
# Install procps and clean apt cache
|
|
RUN apt-get update --allow-releaseinfo-change \
|
|
&& apt-get install -y \
|
|
cpio \
|
|
procps \
|
|
rpm2cpio \
|
|
unzip \
|
|
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
|
|
|
|
# Copy pre-downloaded cellranger file
|
|
ENV CELLRANGER_VER=6.1.2
|
|
COPY cellranger-$CELLRANGER_VER.tar.gz /opt/cellranger-$CELLRANGER_VER.tar.gz
|
|
|
|
# Install cellranger
|
|
RUN \
|
|
cd /opt && \
|
|
tar -xzvf cellranger-$CELLRANGER_VER.tar.gz && \
|
|
export PATH=/opt/cellranger-$CELLRANGER_VER:$PATH && \
|
|
ln -s /opt/cellranger-$CELLRANGER_VER/cellranger /usr/bin/cellranger && \
|
|
rm -rf /opt/cellranger-$CELLRANGER_VER.tar.gz
|