From 144337123128af45ecf7b80ac303634b874ac779 Mon Sep 17 00:00:00 2001 From: Sajjan Singh Mehta Date: Wed, 5 Jun 2024 13:55:52 +0200 Subject: [PATCH] fixed docker dependencies and build configuration --- docker/Dockerfile | 3 ++- docker/docker_build.sh | 0 docker/install_dependencies.R | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 docker/docker_build.sh diff --git a/docker/Dockerfile b/docker/Dockerfile index b2c6adf..ad2d9f6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM r-base:4.4.4 +FROM r-base:4.4.0 LABEL maintainer="sajjan.s.mehta@gmail.com" # install Retip build dependencies @@ -6,6 +6,7 @@ RUN apt-get update && \ apt-get install -yqq --no-install-recommends curl wget git && \ apt-get install -yqq --no-install-recommends build-essential cmake libcurl4-gnutls-dev libxml2-dev libssl-dev libgit2-dev && \ apt-get install -yqq --no-install-recommends libfontconfig1-dev libcairo2-dev pandoc && \ + apt-get install -yqq --no-install-recommends libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev && \ apt-get -yqq install openjdk-11-jdk && \ rm -rf /var/lib/apt/lists/* diff --git a/docker/docker_build.sh b/docker/docker_build.sh old mode 100644 new mode 100755 diff --git a/docker/install_dependencies.R b/docker/install_dependencies.R index d746f7f..b9e2cf7 100644 --- a/docker/install_dependencies.R +++ b/docker/install_dependencies.R @@ -12,7 +12,7 @@ install.packages('randomForest', version='4.7-1.1', repos='http://cran.rstudio.c install.packages('xgboost', version='1.7.7.1', repos='http://cran.rstudio.com/') install.packages('brnn', version='0.9.3', repos='http://cran.rstudio.com/') install.packages('lightgbm', version='4.3.0', repos='http://cran.rstudio.com/') -install.packages('h2o', version='3.44.0.3') +install.packages('h2o', version='3.44.0.3', repos='http://cran.rstudio.com/') install.packages('gtable', version='0.3.5', repos='http://cran.rstudio.com/') install.packages('grid', version='4.4.0', repos='http://cran.rstudio.com/') install.packages('gridExtra', version='2.3', repos='http://cran.rstudio.com/')