Skip to content

Commit

Permalink
Update docker image build for new packrat archive
Browse files Browse the repository at this point in the history
  • Loading branch information
e3bo committed Feb 23, 2018
1 parent f8736e5 commit 0e47cc9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion eric-figs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,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 .
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 0e47cc9

Please sign in to comment.