Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Freecad at it's 1.0 version #4

Open
1 task done
raribeir opened this issue Dec 27, 2024 · 2 comments
Open
1 task done

[FEAT] Freecad at it's 1.0 version #4

raribeir opened this issue Dec 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@raribeir
Copy link

Is this a new feature request?

  • I have searched the existing issues

Wanted change

The new Freecad is now distributed via Appimage and requires a deep change on the current Dockerfile, so a similar deployment like what was made for Orca Slicer is necessary.

Reason for change

Keep with the product in its latest release

Proposed code change

from ghcr.io/linuxserver/baseimage-kasmvnc:debianbookworm

set version label

arg build_date
arg version
arg freecad_version
label build_version="1"
label maintainer="raribeir"

title

env title=freecad
ssl_cert_file=/etc/ssl/certs/ca-certificates.crt

run
echo "**** add icon " &&
curl -o
/kclient/public/icon.png
https://wiki.freecad.org/images/freecad-logo.svg &&
echo "
install packages " &&
apt-get update &&
debian_frontend=noninteractive
apt-get install --no-install-recommends -y
firefox-esr
gstreamer1.0-alsa
gstreamer1.0-gl
gstreamer1.0-gtk3
gstreamer1.0-libav
gstreamer1.0-plugins-bad
gstreamer1.0-plugins-base
gstreamer1.0-plugins-good
gstreamer1.0-plugins-ugly
gstreamer1.0-pulseaudio
gstreamer1.0-qt5
gstreamer1.0-tools
gstreamer1.0-x
libgstreamer1.0
libgstreamer-plugins-bad1.0
libgstreamer-plugins-base1.0
libwebkit2gtk-4.0-37
libwx-perl &&
echo "
install freecad from appimage " &&
freecad_version="1.0.0" &&
cd /tmp &&
curl -o
/tmp/freecad.app -L
https://github.com/FreeCAD/FreeCAD/releases/download/1.0.0/FreeCAD_1.0.0-conda-Linux-x86_64-py311.AppImage &&
chmod +x /tmp/freecad.app &&
./freecad.app --appimage-extract &&
mv squashfs-root /opt/freecad &&
ln -s /opt/freecad/AppRun /usr/bin/freecad &&
echo "
cleanup *" &&
apt-get autoclean &&
rm -rf
/config/.cache
/config/.launchpadlib
/var/lib/apt/lists/

/var/tmp/

/tmp/

add local files

copy /root /

ports and volumes

expose 3000
volume /config⏎

@raribeir raribeir added the enhancement New feature or request label Dec 27, 2024
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@toastedcrumpets
Copy link

toastedcrumpets commented Jan 10, 2025

Hi there @raribeir,
Any chance you could format this as a pull request? I need to do a bit of work to extract your new Dockerfile to test it myself. I'm not part of LinuxServer, just another interested user. I'm trying to build github actions for FreeCAD so you can automatically render or export bodies, so having a image with an active window is needed for view rendering.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Issues
Development

No branches or pull requests

2 participants