Skip to content

Commit

Permalink
Update Dockerfile, ajout de l'installation de chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
jengelaere authored Aug 26, 2024
1 parent bac63db commit 1b1de21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ ARG R_VERSION=4.2.2

FROM inseefrlab/onyxia-rstudio:r${R_VERSION}
RUN apt-get update && apt-get install -y cargo
RUN apt-get install -y wget
RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN apt-get install -y ./google-chrome-stable_current_amd64.deb
RUN R -e "install.packages('remotes', repos = c(CRAN = 'https://cloud.r-project.org'))"
COPY DESCRIPTION DESCRIPTION
RUN R -e 'remotes::install_deps(dependencies = TRUE)'
RUN R -e 'webshot::install_phantomjs()'

0 comments on commit 1b1de21

Please sign in to comment.