69 lines
1.3 KiB
Docker
69 lines
1.3 KiB
Docker
|
FROM sharelatex/sharelatex:latest
|
||
|
|
||
|
MAINTAINER Andrea Dell'Amico <andrea.dellamico@isti.cnr.it>
|
||
|
|
||
|
RUN apt-get update && apt-get dist-upgrade -y
|
||
|
|
||
|
RUN apt-get update && apt-get install -y \
|
||
|
subversion \
|
||
|
git \
|
||
|
texlive texlive-full \
|
||
|
gdal-bin \
|
||
|
libgdal-dev \
|
||
|
libgeos-dev \
|
||
|
libspatialite-dev \
|
||
|
proj-bin \
|
||
|
proj-data \
|
||
|
libproj-dev \
|
||
|
libcurl4-openssl-dev \
|
||
|
libnetcdf-dev \
|
||
|
netcdf-bin \
|
||
|
mono-runtime \
|
||
|
libmono-microsoft-visualbasic10.0-cil \
|
||
|
'libmono-2.0-1' \
|
||
|
'libmono-corlib2.0-cil' \
|
||
|
gsl-bin \
|
||
|
libgsl0-dev \
|
||
|
mesa-common-dev \
|
||
|
libglu1-mesa-dev \
|
||
|
postgis \
|
||
|
postgresql-client
|
||
|
|
||
|
RUN apt-get update && apt-get install -y \
|
||
|
r-recommended \
|
||
|
r-base \
|
||
|
r-base-dev \
|
||
|
r-base-html \
|
||
|
r-base-core \
|
||
|
r-doc-html \
|
||
|
r-cran-boot \
|
||
|
r-cran-cluster \
|
||
|
r-cran-foreign \
|
||
|
r-cran-kernsmooth \
|
||
|
r-cran-lattice \
|
||
|
r-cran-mgcv \
|
||
|
r-cran-nlme \
|
||
|
r-cran-rpart \
|
||
|
r-cran-survival \
|
||
|
r-cran-mass \
|
||
|
r-cran-class \
|
||
|
r-cran-nnet \
|
||
|
r-cran-spatial \
|
||
|
r-cran-codetools \
|
||
|
r-cran-matrix \
|
||
|
jags
|
||
|
|
||
|
# copy the LatexMk file needed by knitr
|
||
|
COPY LatexMk /etc/LatexMk
|
||
|
|
||
|
RUN mkdir -p /srv/d4science
|
||
|
|
||
|
RUN ln -s /srv/d4science/RStudioConfiguration/.Rprofile /etc/R/Rprofile.site
|
||
|
|
||
|
EXPOSE 80
|
||
|
|
||
|
WORKDIR /
|
||
|
|
||
|
ENTRYPOINT ["/sbin/my_init"]
|
||
|
|