updated jre and rserve source master
authorgebele <gebele@in-silico.ch>
Thu, 6 Sep 2018 08:52:28 +0000 (10:52 +0200)
committergebele <gebele@in-silico.ch>
Thu, 6 Sep 2018 08:52:28 +0000 (10:52 +0200)
lazar-master/Dockerfile

index 127b901..29b98af 100644 (file)
@@ -10,7 +10,7 @@ RUN         pacman-db-upgrade && pacman -Syyu --noconfirm && pacman -S --noconfi
             gcc-fortran \
             git \
             gsl \
-            jre7-openjdk-headless \
+            jre10-openjdk-headless \
             mongodb \
             mongodb-tools \
             r \
@@ -26,14 +26,13 @@ RUN         mkdir -p /data/db
 USER        ist
 WORKDIR     /home/ist
 
-RUN         wget https://cran.r-project.org/src/contrib/Rserve_1.7-3.tar.gz -O Rserve
-RUN         sudo R CMD INSTALL Rserve
+RUN         sudo R -e "install.packages('Rserve', repos='http://rforge.net/')"
 
 RUN         echo 'gem: --user-install --no-document' > ~/.gemrc
 ENV         PATH $PATH:/home/ist/.gem/ruby/2.5.0/bin
-RUN         export GEM_HOME=$(ruby -e 'print Gem.user_dir')
+
 RUN         gem install bundler
-RUN         bundle config --global silence_root_warning 1
+#RUN         bundle config --global silence_root_warning 1
 
 RUN         gem install lazar-gui
 COPY        start.sh /home/ist/start.sh