mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 06:03:10 +00:00
22 lines
889 B
Docker
22 lines
889 B
Docker
|
FROM continuumio/miniconda3:4.9.2
|
||
|
LABEL authors="Gisela Gabernet <gisela.gabernet@gmail.com>,Edmund Miller <edmund.a.miller@gmail.com>" \
|
||
|
description="Docker image containing Space Ranger"
|
||
|
# Disclaimer: this container is not provided nor supported by 10x Genomics.
|
||
|
|
||
|
# Install procps and clean apt cache
|
||
|
RUN apt-get update --allow-releaseinfo-change \
|
||
|
&& apt-get install -y procps \
|
||
|
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
# Copy pre-downloaded spaceranger file
|
||
|
ENV SPACERANGER_VER 1.3.0
|
||
|
COPY spaceranger-$SPACERANGER_VER.tar.gz /opt/spaceranger-$SPACERANGER_VER.tar.gz
|
||
|
|
||
|
# Install spaceranger
|
||
|
RUN \
|
||
|
cd /opt && \
|
||
|
tar -xzvf spaceranger-$SPACERANGER_VER.tar.gz && \
|
||
|
export PATH=/opt/spaceranger-$SPACERANGER_VER:$PATH && \
|
||
|
ln -s /opt/spaceranger-$SPACERANGER_VER/spaceranger /usr/bin/spaceranger && \
|
||
|
rm -rf /opt/spaceranger-$SPACERANGER_VER.tar.gz
|