Add some example applications

This commit is contained in:
Thomas Lovén 2024-12-09 16:46:38 +01:00
parent 5d2dd6c946
commit 70609cdc2e
4 changed files with 55 additions and 0 deletions

7
apps/blender.Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM thomasloven/novnc-base
RUN sudo apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
sudo apt-get install -y blender
CMD ["blender"]

10
apps/freecad.Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM thomasloven/novnc-base
RUN sudo apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
sudo apt-get install -y software-properties-common \
&& sudo add-apt-repository -y ppa:freecad-maintainers/freecad-daily \
&& sudo apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
sudo apt-get install -y freecad-daily

11
apps/musescore.Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM thomasloven/novnc-base
RUN sudo apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
sudo apt-get install -y software-properties-common \
&& sudo add-apt-repository -y ppa:mscore-ubuntu/mscore3-stable \
&& sudo apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
sudo apt-get install -y musescore3
CMD ["musescore3"]

View File

@ -0,0 +1,27 @@
FROM thomasloven/novnc-base
ARG APPIMAGE=PrusaSlicer-2.8.1+linux-x64-older-distros-GTK3-202409181354.AppImage
ARG URL=https://github.com/prusa3d/PrusaSlicer/releases/download/version_2.8.1/${APPIMAGE}
RUN sudo apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
sudo apt-get install -y \
libgtk-3-dev libglu1-mesa libwebkit2gtk-4.0-37 \
locales curl \
&& sudo locale-gen en \
&& curl -sSL ${URL} > ${APPIMAGE} \
&& chmod +x ${APPIMAGE} \
&& ./${APPIMAGE} --appimage-extract
RUN mkdir -p ~/Desktop \
&& echo '[Desktop Entry]\n\
Version=1.0\n\
Type=Application\n\
Name=PrusaSlicer\n\
Comment=\n\
Exec=/home/novnc/squashfs-root/AppRun\n\
Icon=/home/novnc/squashfs-root/PrusaSlicer.png\n\
PATH=\n\
Terminal=false\n\
StartupNotify=false'> ~/Desktop/PrusaSlicer.desktop \
&& chmod +x ~/Desktop/PrusaSlicer.desktop