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

Merge branch 'development' into 'master'

Update code-server and init mamba for GUI shells

See merge request !46
parents 5801e143 c866f6d4
No related branches found
No related tags found
1 merge request!46Update code-server and init mamba for GUI shells
......@@ -61,7 +61,7 @@ RUN mamba install --yes \
USER root
# install code-server and extensions
ENV CODE_VERSION=4.99.2
ENV CODE_VERSION=4.99.3
RUN wget --no-hsts -q https://github.com/coder/code-server/releases/download/v$CODE_VERSION/code-server_${CODE_VERSION}_amd64.deb && \
dpkg -i code-server_${CODE_VERSION}_amd64.deb && \
rm -f code-server_${CODE_VERSION}_amd64.deb && \
......@@ -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"
......
......@@ -18,7 +18,7 @@ RUN apt-get update --yes && \
apt-get clean && rm -rf /var/lib/apt/lists/*
# install code-server and extensions
ENV CODE_VERSION=4.99.2
ENV CODE_VERSION=4.99.3
RUN wget --no-hsts -q https://github.com/coder/code-server/releases/download/v$CODE_VERSION/code-server_${CODE_VERSION}_amd64.deb && \
dpkg -i code-server_${CODE_VERSION}_amd64.deb && \
rm -f code-server_${CODE_VERSION}_amd64.deb && \
......@@ -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"
......
......@@ -18,7 +18,7 @@ RUN apt-get update --yes && \
apt-get clean && rm -rf /var/lib/apt/lists/*
# install code-server and extensions
ENV CODE_VERSION=4.99.2
ENV CODE_VERSION=4.99.3
RUN wget --no-hsts -q https://github.com/coder/code-server/releases/download/v$CODE_VERSION/code-server_${CODE_VERSION}_amd64.deb && \
dpkg -i code-server_${CODE_VERSION}_amd64.deb && \
rm -f code-server_${CODE_VERSION}_amd64.deb && \
......@@ -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