Added geospatial required apt packages
This commit is contained in:
parent
23d4dd5193
commit
ff3de63c25
@ -11,11 +11,13 @@ RUN apt-get update \
|
|||||||
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
|
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
|
||||||
&& chmod 777 /usr/local/lib/R/site-library
|
&& chmod 777 /usr/local/lib/R/site-library
|
||||||
USER rdocker
|
USER rdocker
|
||||||
#Install all necessary packages for anaylysis, file manipulation, or for the required R packages to function.
|
#Install all necessary packages for anaylysis, file manipulation, or for the required R packages to function. The first set of installs are packages related to geospatial work in R, this was copied from the rocker script found in /rocker-scripts/install_geospatial.sh. The second batch of installs are other packages I have installed for various workflows or as a dependency in otehr r-libraries
|
||||||
RUN sudo apt-get install -y libmariadb-dev imagemagick ghostscript libpoppler-cpp-dev vim wget curl git libcurl4-openssl-dev build-essential texlive-full chromium-browser firefox default-jdk # chromium-browser, firefox, and default-jdk used for web scraping with the R-package selenider.
|
RUN sudo apt-get update \
|
||||||
|
&& sudo apt-get -y install gdal-bin lbzip2 libfftw3-dev libgdal-dev libgeos-dev libgsl0-dev libgl1-mesa-dev libglu1-mesa-dev libhdf4-alt-dev libhdf5-dev libjq-dev libpq-dev libproj-dev libprotobuf-dev libnetcdf-dev libsqlite3-dev libssl-dev libudunits2-dev netcdf-bin postgis protobuf-compiler sqlite3 tk-dev unixodbc-dev \
|
||||||
|
&& sudo apt-get install -y libmariadb-dev imagemagick ghostscript libpoppler-cpp-dev vim wget curl git libcurl4-openssl-dev build-essential texlive-full default-jdk
|
||||||
|
|
||||||
#Install the R packages used in the R data creation scripts run on on the docker container.
|
#Install the R packages used in the R data creation scripts run on on the docker container.
|
||||||
RUN install2.r tidyverse fixest twang pdftools gt scales vars curl forecast uuid corrplot foreach cluster factoextra xtable Formula miscTools MASS kableExtra clisymbols fredr readxl lubridate tidycensus zipcodeR stargazer sandwich lmtest ggnewscale viridis ggthemes MatchIt optmatch aTSA tsDyn bruceR svars tidyquant zoo eia renv BiocManager miscTools logr selenium selenider && rm -rf /tmp/downloaded_packages
|
RUN install2.r tidyverse fixest twang pdftools gt scales vars curl forecast uuid corrplot foreach cluster factoextra xtable Formula miscTools MASS kableExtra clisymbols fredr readxl lubridate tidycensus zipcodeR stargazer sandwich lmtest ggnewscale viridis ggthemes MatchIt optmatch aTSA tsDyn bruceR svars tidyquant zoo eia renv BiocManager miscTools logr zipcodeR usmap&& rm -rf /tmp/downloaded_packages
|
||||||
#Packages used in DCchoice nuclear contigent valuation paper which require a special install method
|
#Packages used in DCchoice nuclear contigent valuation paper which require a special install method
|
||||||
#Icens is required to be installed using BiocManager for DCchoice to be installed.
|
#Icens is required to be installed using BiocManager for DCchoice to be installed.
|
||||||
#"interval" required Icens to be installed
|
#"interval" required Icens to be installed
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user