Skip to content

Commit

Permalink
clean-up apt repo + removed newline from test_cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
korseby committed Feb 14, 2017
1 parent c2b2784 commit 11f40ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ LABEL Description="rNMR: open source software for identifying and quantifying me
MAINTAINER PhenoMeNal-H2020 Project <phenomenal-h2020-users@googlegroups.com>



# Environment variables needed for installing with xvfb
ENV DEBIAN_FRONTEND=noninteractive
ENV DISPLAY=":1"
Expand All @@ -21,6 +22,9 @@ RUN echo "no"
RUN apt-get -y update
RUN apt-get -y install apt-utils coreutils git r-base r-cran-tcltk2 subversion subversion-tools wget xfonts-75dpi xfonts-100dpi xfstt xinit xterm xvfb

# Clean-up
RUN apt-get -y clean && apt-get -y autoremove && rm -rf /var/lib/{cache,log}/ /tmp/* /var/tmp/*

# Fetch rNMR
WORKDIR /usr/src
RUN svn checkout svn://svn.code.sf.net/p/rnmr/code/ rnmr-code
Expand Down
3 changes: 1 addition & 2 deletions test_cmds.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
test -d /usr/local/lib/R/site-library/rNMR
xvfb-run R -e "library(rNMR)"

/usr/bin/xvfb-run R -e "library(rNMR)"

0 comments on commit 11f40ca

Please sign in to comment.