Skip to content

Commit

Permalink
chore: update image dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rokroskar committed Jun 19, 2024
1 parent 4e56674 commit 0b69b14
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker/matlab-jupyter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,17 @@ RUN apt-get update --fix-missing && \
gpg-agent \
rclone \
vim && \
wget && \
apt-get purge && \
apt-get clean && \
apt-get autoremove --yes && \
rm -rf /var/lib/apt/lists/* && \
curl -L -s https://github.com/git-lfs/git-lfs/releases/download/v3.3.0/git-lfs-linux-"$(dpkg --print-architecture)"-v3.3.0.tar.gz -o /tmp/git-lfs-linux-"$(dpkg --print-architecture)"-v3.3.0.tar.gz && \
tar -zxvf /tmp/git-lfs-linux-"$(dpkg --print-architecture)"-v3.3.0.tar.gz -C /tmp && \
/tmp/git-lfs-3.3.0/install.sh && \
rm -rf /tmp/git-lfs*
rm -rf /tmp/git-lfs* && \
curl -L -o /usr/bin/mpm -s https://www.mathworks.com/mpm/glnxa64/mpm && \
chmod a+x /usr/bin/mpm

# inject the renku-jupyter stack
COPY --from=renku_base /opt/conda /opt/conda
Expand All @@ -55,6 +58,8 @@ COPY --from=renku_base /renku/bashrc /renku/bashrc

# set permissions of the R library directory to be editable by NB_USER
RUN chown 1000:100 /opt/conda && \
mkdir /usr/share/matlab && \
chown 1000:1000 /usr/share/matlab && \
# this hack lets some of the setup from the base renku image work here
ln -s /home/${NB_USER} /home/jovyan

Expand Down

0 comments on commit 0b69b14

Please sign in to comment.