Commit 647a9b2c authored by Philippe Grosjean's avatar Philippe Grosjean
Browse files

Update Dockerfile

parent 9496b4ef
Pipeline #246797 failed with stage
in 27 minutes and 36 seconds
......@@ -26,7 +26,8 @@ RUN apt-get update --fix-missing && \
# added for SciViews Box/BioDataScience
hunspell-en-us \
hunspell-en-gb \
hunspell-fr-classical \
# does not work well...why?
#hunspell-fr-classical \
xdg-utils \
net-tools \
nano && \
......@@ -47,8 +48,10 @@ RUN mkdir -p /home/rstudio/.config/rstudio/dictionaries && \
cp /usr/share/hunspell/en_GB.aff /home/rstudio/.config/rstudio/dictionaries/languages-system/en_GB.aff && \
cp /usr/share/hunspell/en_GB.dic /home/rstudio/.config/rstudio/dictionaries/languages-system/en_GB.dic && \
cp /usr/share/hunspell//en_GB.dic_delta /home/rstudio/.config/rstudio/dictionaries/languages-system/en_GB.dic_delta && \
cp /usr/share/hunspell/fr.aff /home/rstudio/.config/rstudio/dictionaries/languages-system/fr_FR.aff && \
cp /usr/share/hunspell/fr.dic /home/rstudio/.config/rstudio/dictionaries/languages-system/fr_FR.dic && \
#cp /usr/share/hunspell/fr.aff /home/rstudio/.config/rstudio/dictionaries/languages-system/fr_FR.aff && \
#cp /usr/share/hunspell/fr.dic /home/rstudio/.config/rstudio/dictionaries/languages-system/fr_FR.dic && \
curl -sL https://filedn.com/lzGVgfOGxb6mHFQcRn9ueUb/svbox2021/fr_FR.aff > /home/rstudio/.config/rstudio/dictionaries/languages-system/fr_FR.aff && \
curl -sL https://filedn.com/lzGVgfOGxb6mHFQcRn9ueUb/svbox2021/fr_FR.dic > /home/rstudio/.config/rstudio/dictionaries/languages-system/fr_FR.dic && \
cp /usr/share/hunspell//fr_FR.dic_delta /home/rstudio/.config/rstudio/dictionaries/languages-system/fr_FR.dic_delta && \
chown 1000:1000 /home/rstudio/.config/rstudio/dictionaries/languages-system/* && \
chown 1000:1000 /home/rstudio/.config/rstudio && \
......@@ -66,7 +69,10 @@ COPY install.R /tmp/
COPY requirements.txt /tmp/
RUN R -f /tmp/install.R && \
R --quiet -e "install.packages('webshot'); webshot::install_phantomjs()" && \
pip3 install -r /tmp/requirements.txt
pip3 install -r /tmp/requirements.txt $$ \
# reset original user:group for site-library so that rstudio user is forced
# to install its R packages in ~/... instead from within RStudio
chown root:staff /usr/local/lib/R/site-library
COPY post-init.sh /post-init.sh
ENTRYPOINT [ "/tini", "--", "/entrypoint.sh" ]
......
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