generated from gCubeCI/Pipeline-Docker-Template
Install curl.
This commit is contained in:
parent
23f82aaecf
commit
bf19779bfb
|
@ -31,7 +31,8 @@ ENV HOME="/home/${NB_USER}"
|
|||
RUN apt-get update --yes && \
|
||||
apt-get upgrade --yes && \
|
||||
apt-get install --yes --no-install-recommends \
|
||||
python3 python3-pip
|
||||
python3 python3-pip \
|
||||
curl
|
||||
RUN /rocker_scripts/install_rstudio.sh
|
||||
|
||||
# This part comes from https://github.com/openanalytics/shinyproxy-rstudio-ide-demo/blob/master/Dockerfile
|
||||
|
@ -42,7 +43,7 @@ ARG EXCLUDE_VARS="HOME PASSWORD RSTUDIO_VERSION BATCH_USER_CREATION"
|
|||
ARG R_HOME="/usr/local"
|
||||
# The 0*_ scripts cannot be used anymore
|
||||
# ADD 01_set_env.sh /etc/cont-init.d/01_set_env
|
||||
RUN for file in /var/run/s6/container_environment/* ; do sed -i "/^${file##*/}=/d" ${R_HOME}/etc/Renviron.site ; regex="(^| )${file##*/}($| )" ; if [ ! $exclude_vars =~ $regex ] ; then echo "${file##*/}=$(cat $file)" >> ${R_HOME}/etc/Renviron.site ; fi ; done
|
||||
RUN for file in /var/run/s6/container_environment/* ; do sed -i "/^${file##*/}=/d" ${R_HOME}/etc/Renviron.site ; regex="(^| )${file##*/}($| )" ; if [ ! "$exclude_vars" =~ "$regex" ] ; then echo "${file##*/}=$(cat $file)" >> ${R_HOME}/etc/Renviron.site ; fi ; done
|
||||
|
||||
# ADD 02_userconf.sh /etc/cont-init.d/02_userconf
|
||||
RUN mv -f /etc/rstudio/disable_auth_rserver.conf /etc/rstudio/rserver.conf
|
||||
|
|
Loading…
Reference in New Issue