Skip to content
Snippets Groups Projects
Commit c866f6d4 authored by Christof Kaufmann's avatar Christof Kaufmann
Browse files

Fix mamba initialization for graphical shells

parent 817c42f8
No related branches found
No related tags found
1 merge request!46Update code-server and init mamba for GUI shells
......@@ -180,6 +180,9 @@ RUN chown -R ${NB_USER} "/home/${NB_USER}/.jupyter" && \
' fi' \
'done' \
>> /usr/local/bin/start-notebook.d/fix-gitlab-server.sh && \
# activate mamba also in graphical terminals
cat /etc/profile.d/mamba-conda.sh >> /etc/bash.bashrc && \
# fix permissions
chown -R ${NB_USER} "/home/${NB_USER}/.local" && \
fix-permissions "/home/${NB_USER}" && \
fix-permissions "/etc/skel"
......
......@@ -140,6 +140,9 @@ RUN chown -R ${NB_USER} "/home/${NB_USER}/.jupyter" && \
' fi' \
'done' \
>> /usr/local/bin/start-notebook.d/fix-gitlab-server.sh && \
# activate mamba also in graphical terminals
cat /etc/profile.d/mamba-conda.sh >> /etc/bash.bashrc && \
# fix permissions
chown -R ${NB_USER} "/home/${NB_USER}/.local" && \
fix-permissions "/home/${NB_USER}" && \
fix-permissions "/etc/skel"
......
......@@ -139,6 +139,9 @@ RUN chown -R ${NB_USER} "/home/${NB_USER}/.jupyter" && \
' fi' \
'done' \
>> /usr/local/bin/start-notebook.d/fix-gitlab-server.sh && \
# activate mamba also in graphical terminals
cat /etc/profile.d/mamba-conda.sh >> /etc/bash.bashrc && \
# fix permissions
chown -R ${NB_USER} "/home/${NB_USER}/.local" && \
fix-permissions "/home/${NB_USER}" && \
fix-permissions "/etc/skel"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment