Do not execute the 01_set_env.sh script.

This commit is contained in:
Andrea Dell'Amico 2023-03-20 14:47:18 +01:00
parent 605bc7b004
commit fa28a66847
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 0 additions and 16 deletions

View File

@ -40,12 +40,6 @@ RUN /rocker_scripts/install_rstudio.sh
RUN echo "www-frame-origin=same" >> /etc/rstudio/disable_auth_rserver.conf
RUN echo "www-verify-user-agent=0" >> /etc/rstudio/disable_auth_rserver.conf
# The 0*_ scripts cannot be used anymore at startup time
COPY 01_set_env.sh /root/01_set_env.sh
RUN chmod a+rx /root/01_set_env.sh
RUN /root/01_set_env.sh
# ADD 02_userconf.sh /etc/cont-init.d/02_userconf
RUN mv -f /etc/rstudio/disable_auth_rserver.conf /etc/rstudio/rserver.conf
RUN echo "USER=$NB_USER" >> /etc/environment
@ -97,13 +91,3 @@ RUN apt-get clean && rm -rf /var/lib/apt/lists/* && \
RUN sed -i 's/^#force_color_prompt=yes/force_color_prompt=yes/' /etc/skel/.bashrc
WORKDIR ${HOME}
# Prepare the workspace environment
# RUN mkdir -p /opt/workspace-lib
# RUN mkdir /var/log/workspace-lib
# ADD https://maven.d4science.org/nexus/content/repositories/gcube-snapshots/org/gcube/data-access/sh-fuse-integration/2.0.0-SNAPSHOT/sh-fuse-integration-2.0.0-20211005.090627-1-jar-with-dependencies.jar /opt/workspace-lib/fuse-workspace.jar
# ADD 06_workspace_mount.sh /etc/cont-init.d/06_workspace_mount
# ADD 06-fuse-logback.xml /opt/workspace-lib/logback.xml
# EXPOSE 8787
# CMD ["/init"]