@@ -218,6 +218,9 @@ RUN curl -fsSL -o cursor.appimage https://downloads.cursor.com/production/61e991
218218 sed -iE 's;Exec=.*;Exec=/usr/local/bin/cursor;' /opt/cursor/cursor.desktop && \
219219 rm cursor.appimage
220220
221+ # Install cursor cli
222+ RUN curl https://cursor.com/install -fsS | bash
223+
221224# Install discord
222225RUN curl -fsSL -o discord.deb 'https://discordapp.com/api/download?platform=linux&format=deb' && \
223226 dpkg -i discord.deb || apt-get install -qq --fix-broken && \
@@ -383,13 +386,18 @@ RUN curl -fsSL https://nodejs.org/dist/v23.11.0/node-v23.11.0-linux-x64.tar.xz |
383386RUN git clone --depth 1 https://github.com/cloud-computer/noVNC.git /opt/noVNC && \
384387 git clone --depth 1 https://github.com/novnc/websockify /opt/noVNC/utils/websockify
385388
389+ # Install nvidia driver
390+ RUN apt-get update -qq && \
391+ apt-get install -qq \
392+ nvidia-driver-550
393+
386394# Install nvidia driver
387395# RUN apt-get update -qq && \
388396# apt-get install linux-headers-$(uname -r) && \
389397# curl -fsSL -o nvidia-driver.run https://us.download.nvidia.com/XFree86/Linux-x86_64/565.77/NVIDIA-Linux-x86_64-565.77.run && \
390398# chmod +x nvidia-driver.run && \
391399# ./nvidia-driver.run --allow-installation-with-running-driver --silent && \
392- # rm nviia -driver.run
400+ # rm nvidia -driver.run
393401
394402# Install nvidia driver
395403# RUN apt-get update -qq && \
@@ -600,6 +608,11 @@ RUN sed -i "s;^$USER:[^:]*;$USER:$DESKTOP_ENVIRONMENT_HOST_USER_PASSWORD;" /etc/
600608# Take ownership of user's home directory and applications
601609RUN chown -R $USER:$USER $HOME /opt
602610
611+ # Restore file ownership and file mode required for chrome-sandbox binaries
612+ RUN find /opt -type f -name chrome-sandbox \
613+ -exec chown root:root {} \; \
614+ -exec chmod 4755 {} \;
615+
603616# Become desktop environment user
604617USER $USER
605618WORKDIR $HOME
0 commit comments