diff --git a/Dockerfile b/Dockerfile index 6ff019f..ff574dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN \ apt-get update && \ apt-get install --no-install-recommends -y \ ocl-icd-libopencl1 \ - wget \ + snapd \ libfuse2 \ python3-pip \ python3-git \ @@ -34,13 +34,7 @@ RUN \ /var/tmp/* # Download the FreeCAD AppImage -RUN wget -O FreeCAD.AppImage https://github.com/FreeCAD/FreeCAD/releases/download/0.21.0/FreeCAD_0.21.0-Linux-x86_64.AppImage - -# Make the AppImage executable -RUN chmod +x FreeCAD.AppImage - -# Add it to the default path -RUN mv FreeCAD.AppImage /usr/local/bin/freecad +RUN snap install freecad # add local files COPY /root /