forked from Wedge-lab/dpclust
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·23 lines (15 loc) · 856 Bytes
/
Dockerfile
File metadata and controls
executable file
·23 lines (15 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ubuntu:20.04
USER root
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install r-base libxml2 libxml2-dev libcurl4-gnutls-dev libssl-dev curl git
RUN R -q -e 'install.packages("BiocManager"); BiocManager::install(c("optparse","KernSmooth","ks","lattice","ggplot2","gridExtra","VariantAnnotation","GenomicRanges","Rsamtools","IRanges","S4Vectors","reshape2","data.table","R.utils"))'
RUN mkdir -p /opt/dpclust
COPY . /opt/dpclust/
RUN R -q -e 'install.packages("/opt/dpclust", repos=NULL, type="source")'
RUN git clone https://github.com/OpenGenomics/dpclust3p /opt/dpclust3p
RUN R -q -e 'install.packages("/opt/dpclust3p", repos=NULL, type="source")'
## USER CONFIGURATION
RUN adduser --disabled-password --gecos '' ubuntu && chsh -s /bin/bash && mkdir -p /home/ubuntu
USER ubuntu
WORKDIR /home/ubuntu
CMD ["/bin/bash"]