Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM ubuntu:20.04

ARG DEBIAN_FRONTEND=noninteractive

# Copy content from host to container
RUN mkdir /shimmer
COPY . /shimmer

RUN apt-get update && apt-get install -y perl r-base samtools

RUN perl -MCPAN -e 'CPAN::Shell->install("Module::Build")'

# Install R statmod
RUN R -e "install.packages(c('statmod'),dependencies=TRUE, repos = 'http://cran.rstudio.com/')"

# Install Shimmer
RUN cd /shimmer && perl /shimmer/Build.PL --install_base /shimmer
RUN /shimmer/Build
RUN /shimmer/Build install

ENV PATH="${PATH}:/shimmer/bin"
ENV PERL5LIB="/shimmer/bin/lib/perl5:${PERL5LIB}"