Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kcotto committed Jan 8, 2020
1 parent b79da70 commit d74fab9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
################################################################################
##################### Add Container Labels #####################################
LABEL "Regtools_License"="MIT"
LABEL "Description"="Software package which integrate DNA-seq and RNA-seq data\
to help interpret mutations in a regulatory and splicing\
context."

################################################################################
##################### Set Inital Image to work from ############################

Expand Down Expand Up @@ -34,6 +27,13 @@ RUN apt-get update -y && apt-get install -y \
cmake \
python3

################################################################################
##################### Add Container Labels #####################################
LABEL "Regtools_License"="MIT"
LABEL "Description"="Software package which integrate DNA-seq and RNA-seq data\
to help interpret mutations in a regulatory and splicing\
context."

################################################################################
####################### Install R ##############################################

Expand All @@ -55,18 +55,18 @@ RUN R --vanilla -e 'install.packages(c("data.table", "plyr", "tidyverse"), repos
##################### Install Regtools #########################################

# clone git repository
RUN git clone https://github.com/griffithlab/regtools.git
RUN cd / && git clone https://github.com/griffithlab/regtools.git

# make a build directory for regtools
WORKDIR /regtools/
RUN mkdir build


# compile from source
RUN cd /regtools/build && cmake ..
RUN cd /regtools/build && make
RUN mkdir build && cd build && cmake .. && make

################################################################################
###################### set environment path #################################

# add regtools executable to path
ENV PATH="/regtools/build:${PATH}"
ENV PATH="/regtools/build:/usr/local/bin/R-${r_version}:${PATH}"

0 comments on commit d74fab9

Please sign in to comment.