diff --git a/update_metadata_bdc/v1.0.0/Dockerfile b/update_metadata_bdc/v1.0.0/Dockerfile index 596ff44..826d9d8 100644 --- a/update_metadata_bdc/v1.0.0/Dockerfile +++ b/update_metadata_bdc/v1.0.0/Dockerfile @@ -19,8 +19,9 @@ LABEL about.tags="RMIP" #---------------------------------------------------------------- # Install required command line tools and packages #---------------------------------------------------------------- -ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 -ENV DEBIAN_FRONTEND noninteractive +ENV LANG=C.UTF-8 +ENV LC_ALL=C.UTF-8 +ARG DEBIAN_FRONTEND noninteractive RUN apt-get -qq update && apt-get -y upgrade && \ apt-get install -y --no-install-recommends \ @@ -30,7 +31,7 @@ RUN apt-get -qq update && apt-get -y upgrade && \ libxml2-dev \ build-essential && \ apt-get clean && \ - apt-get autoremove + apt-get -y autoremove #---------------------------------------------------------------- # Install R Packages @@ -39,9 +40,10 @@ ENV R_VERSION 4.3.2 # Configure CRAN for package retrieval RUN echo "r <- getOption('repos'); r['CRAN'] <- 'http://cran.us.r-project.org'; options(repos = r);" > ~/.Rprofile -RUN Rscript -e "install.packages('getopt', dependencies = T)" -RUN Rscript -e "install.packages(c('dplyr', 'httr', 'stringr','lubridate','sevenbridges2'), dependencies = T)" -RUN Rscript -e "library('getopt');##### R SESSION INFORMATION #####; sessionInfo()" +RUN Rscript -e "install.packages(c('getopt', 'dplyr', 'httr', 'stringr','lubridate','sevenbridges2'), dependencies = T)" +RUN Rscript -e "library('getopt'); \ + ##### R SESSION INFORMATION #####; \ + sessionInfo()" #---------------------------------------------------------------- # Copy over analysis scripts