From afa31ac3077270ab1c7408720717b20a1f83d7c9 Mon Sep 17 00:00:00 2001 From: Zach Skidmore Date: Fri, 19 Jan 2018 14:48:31 -0600 Subject: [PATCH 1/3] added Dockefile --- Dockerfile | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..82f5c91 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,40 @@ +################################################################################ +##################### Set Inital Image to work from ############################ +FROM ubuntu:16.04 + +################################################################################ +##################### 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 System Dependencies ############################## +RUN apt-get update +RUN apt-get install -y git +RUN apt-get install -y build-essential +RUN apt-get install -y cmake +RUN apt-get install -y zlib1g-dev + +################################################################################ +##################### Install Regtools ######################################### + +# clone git repository +RUN git clone https://github.com/griffithlab/regtools.git + +# make a build directory for regtools +WORKDIR /regtools/ +RUN mkdir build +WORKDIR /build/ + +# compile from source +RUN cmake .. +RUN make + +WORKDIR / +################################################################################ +###################### set environment path ################################# + +# add regtools executable to path +ENV PATH="/regtools/build:${PATH}" From 158c56943d5f60ce5cb7b8809504a17d3c851703 Mon Sep 17 00:00:00 2001 From: Zach Skidmore Date: Tue, 23 Jan 2018 18:49:51 -0600 Subject: [PATCH 2/3] updated readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index aca3309..b7765cc 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ Clone and install regtools by running: make ``` +For convienience we also maintain a docker image available at (https://hub.docker.com/r/griffithlab/regtools/)[https://hub.docker.com/r/griffithlab/regtools/] + ## Usage: ``` From 0911993a3dc1566e6064ebb6cf27e41dfdcfd8dd Mon Sep 17 00:00:00 2001 From: Zach Skidmore Date: Wed, 24 Jan 2018 17:02:28 -0600 Subject: [PATCH 3/3] fix docker file and readme --- Dockerfile | 6 ++---- README.md | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 82f5c91..ee37534 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,13 +26,11 @@ RUN git clone https://github.com/griffithlab/regtools.git # make a build directory for regtools WORKDIR /regtools/ RUN mkdir build -WORKDIR /build/ # compile from source -RUN cmake .. -RUN make +RUN cd /regtools/build && cmake .. +RUN cd /regtools/build && make -WORKDIR / ################################################################################ ###################### set environment path ################################# diff --git a/README.md b/README.md index b7765cc..41f6868 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Clone and install regtools by running: make ``` -For convienience we also maintain a docker image available at (https://hub.docker.com/r/griffithlab/regtools/)[https://hub.docker.com/r/griffithlab/regtools/] +For convienience we also maintain a docker image available at [https://hub.docker.com/r/griffithlab/regtools/](https://hub.docker.com/r/griffithlab/regtools/) ## Usage: