Skip to content

Commit 1584a2f

Browse files
authored
Merge pull request #8 from gwaygenomics/master
Update Docker to Respond to checkpoint package
2 parents c88c9d2 + b0f6862 commit 1584a2f

File tree

2 files changed

+5
-22
lines changed

2 files changed

+5
-22
lines changed

docker/Dockerfile

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
FROM ubuntu:15.10
22
MAINTAINER "Greg Way" <gregway@mail.med.upenn.edu>
33

4-
###################
54
# Install Ubuntu dependencies
6-
###################
75
RUN apt-get update && apt-get install -y --no-install-recommends \
86
git \
9-
ed \
7+
ed \
108
less \
119
locales \
1210
vim-tiny \
1311
wget \
14-
ca-certificates \
12+
ca-certificates \
1513
bison \
1614
flex \
1715
apt-utils \
@@ -20,19 +18,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2018
libxml2-dev\
2119
libssl-dev
2220

23-
###################
2421
# Install R
25-
###################
2622
RUN apt-get install -y --no-install-recommends \
2723
r-base \
2824
r-base-dev \
2925
r-recommended \
3026
r-cran-xml \
3127
r-cran-rjava
3228

33-
####################
3429
# Install Sleipnir
35-
####################
3630
RUN apt-get install -y --no-install-recommends \
3731
mercurial \
3832
gengetopt \
@@ -51,15 +45,14 @@ RUN hg clone https://bitbucket.org/libsleipnir/sleipnir
5145
RUN cd sleipnir && ./gen_auto && ./gen_tools_am
5246
RUN cd sleipnir && ./configure --with-svm-perf=~/svmperf/ && make && make install
5347

54-
####################
5548
# Install hgsc_subtypes
56-
####################
57-
##### NOTE - Follow these steps to break cache download following git update
49+
# NOTE - Follow these steps to break cache download following git update
5850
# Because we must allow for the updating of the repository, break this cache
5951
# if the commit ID is different. Run in command line before building image
6052
# export CACHEBUST=`git rev-parse HEAD`
6153
# docker build -t gregway/hgsc_subtypes --build-arg CACHEBUST=$CACHEBUST .
6254
# ARG CACHEBUST=1
55+
6356
# Install git repository
6457
RUN git clone https://github.com/greenelab/hgsc_subtypes.git
6558

@@ -68,14 +61,3 @@ RUN wget -nv https://bitbucket.org/gwaygenomics/download/raw/\
6861
575d017054fb27a6a0cd62102f86c0ca13bc32a2/ovca/curatedOvarianData_1.8.0.tar.gz
6962
RUN tar -xf curatedOvarianData_1.8.0.tar.gz
7063

71-
# Run Install Script (for CRAN libraries)
72-
RUN Rscript hgsc_subtypes/INSTALL.R
73-
74-
75-
76-
77-
78-
79-
80-
81-

docker/docker_command.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
22

33
cd hgsc_subtypes
4+
Rscript INSTALL.R
45
./ANALYSIS.sh

0 commit comments

Comments
 (0)