Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/ericfigs-docker' in…
Browse files Browse the repository at this point in the history
…to ericfigs-docker
  • Loading branch information
Eric Marty committed Feb 26, 2018
2 parents c71ebd6 + e490787 commit ff803be
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 49 deletions.
42 changes: 0 additions & 42 deletions .gitignore

This file was deleted.

7 changes: 7 additions & 0 deletions eric-figs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Packrat
packrat/lib*/
packrat/src

# Ignored folders
sketches/
design/
4 changes: 2 additions & 2 deletions eric-figs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM r-base
FROM r-base:3.4.3
MAINTAINER Eamon O'Dea <[last name without apostrophe]35@gmail.com>
RUN apt-get update && apt-get install -y -q --no-install-recommends \
libcurl4-openssl-dev \
libgdal-dev \
libnlopt-dev \
libproj-dev \
libpng-dev \
libpoppler-cpp-dev \
Expand All @@ -14,7 +15,6 @@ libxml2-dev
RUN install2.r --error packrat
RUN mkdir /root/work
COPY ./install /root/work/install
COPY ./packrat /root/work/packrat
COPY ./.Rprofile /root/work/
RUN /usr/bin/Rscript -e "setwd(\"/root/work\"); source(\".Rprofile\"); packrat::restore()"
2 changes: 1 addition & 1 deletion eric-figs/build-image
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker build -t eamon/reporting-proc-eric-figs:v20171027 .
docker build -t eamon/reporting-proc-eric-figs:v20180223 .
4 changes: 1 addition & 3 deletions eric-figs/packrat/packrat.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
PackratFormat: 1.4
PackratVersion: 0.4.8.1
RVersion: 3.4.3
Repos:
MRAN_2017_10_25=http://mran.revolutionanalytics.com/snapshot/2017-10-25/,
MRAN_2017_07_18=http://mran.revolutionanalytics.com/snapshot/2017-07-18/
Repos: CRAN=http://cloud.r-project.org

Package: BH
Source: CRAN
Expand Down
2 changes: 1 addition & 1 deletion eric-figs/run-scripts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ chmod 757 ${outdir}
docker run -v ${indir}:/mnt/input:ro \
-v ${outdir}:/mnt/output \
-w ${hdir}/work \
eamon/reporting-proc-eric-figs:v20171027 /bin/bash -c "/mnt/input/copy-and-run"
eamon/reporting-proc-eric-figs:v20180223 /bin/bash -c "/mnt/input/copy-and-run"
chown -R --reference $0 ${outdir}
chmod 755 ${outdir}

0 comments on commit ff803be

Please sign in to comment.