Commit a330ab3a authored by Bakaniko's avatar Bakaniko

gitignore fichiers temporaires générés par liftr

parent 560b1531
......@@ -13,3 +13,7 @@
docs/data/CSV/
docs/data/encuesta_2010/Donnees_2010/
docs/Dockerfile
docs/document\.docker\.yml
FROM rocker/tidyverse:latest
MAINTAINER Nicolas Roelandt <roelandtn.pro@gmail.com>
# System dependencies for required R packages
RUN rm -f /var/lib/dpkg/available \
&& rm -rf /var/cache/apt/* \
&& apt-get update -qq \
&& apt-get install -y --no-install-recommends \
ca-certificates \
libssl-dev \
libcurl4-openssl-dev \
libxml2-dev \
git
RUN apt-get update -qq && apt-get install -y --no-install-recommends texlive-xetex texlive-luatex texlive-latex-recommended fonts-linuxlibertine texlive-lang-french libgdal-dev libproj-dev libudunits2-dev
# TeXLive + inconsolata fonts from rocker/hadleyverse
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
aspell \
aspell-en \
ghostscript \
imagemagick \
lmodern \
texlive-fonts-recommended \
texlive-humanities \
texlive-latex-extra \
texinfo \
&& apt-get clean \
&& cd /usr/share/texlive/texmf-dist \
&& wget http://mirrors.ctan.org/install/fonts/inconsolata.tds.zip \
&& unzip inconsolata.tds.zip \
&& rm inconsolata.tds.zip \
&& echo "Map zi4.map" >> /usr/share/texlive/texmf-dist/web2c/updmap.cfg \
&& mktexlsr \
&& updmap-sys
RUN Rscript -e "install.packages(c('devtools','knitr','rmarkdown','shiny','RCurl'), repos = 'https://cran.rstudio.com')"
RUN Rscript -e "source('https://cdn.rawgit.com/road2stat/liftrlib/aa132a2d/install_cran.R');install_cran(c('sp','FactoMineR','devtools','plotrix','knitr','huxtable','magrittr','psych','factoextra','sf','rgdal','cartography','readr','corrplot'))"
COPY templates/ /templates/
RUN ls /templates/
COPY images/ /images/
RUN ls /images/
## Chargement manuel des CSV contenant les données pré-traitées et filtrées pour limiter la taille de l'image docker
#COPY data/traitees/persona_vivienda_zm_mexico_2015_concentration.csv data/traitees/
#RUN ls data/traitees/
RUN mkdir /liftrroot/
WORKDIR /liftrroot/
container_name: liftr_container_d3b91943_d32c_43a6_97a7_c0fc7fec0ea4
image_name: document
docker_build_cmd: docker build --no-cache=false --rm=true -t="document" /home/niko/Rstuff/rapport/docs
docker_run_cmd: docker run --rm --name "liftr_container_d3b91943_d32c_43a6_97a7_c0fc7fec0ea4"
-u `id -u $USER` -v "/home/niko/Rstuff/rapport/docs:/liftrroot/" document Rscript
-e "library('knitr');library('rmarkdown');library('shiny');setwd('/liftrroot/');render(input
= 'document.Rmd')"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment