See: https://github.com/ToddG/freecad-builder This is based on the freecad docs and https://gitlab.com/daviddaish/freecad_docker_env.