{"id":20630695,"url":"https://github.com/openscad/docker-openscad","last_synced_at":"2025-07-17T06:03:31.934Z","repository":{"id":25063262,"uuid":"103084568","full_name":"openscad/docker-openscad","owner":"openscad","description":"OpenSCAD-related docker files","archived":false,"fork":false,"pushed_at":"2023-12-20T14:33:06.000Z","size":132,"stargazers_count":10,"open_issues_count":1,"forks_count":10,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-05-01T09:42:36.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openscad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-11T03:16:06.000Z","updated_at":"2024-01-25T18:25:04.000Z","dependencies_parsed_at":"2023-12-20T16:09:51.548Z","dependency_job_id":null,"html_url":"https://github.com/openscad/docker-openscad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/openscad/docker-openscad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openscad%2Fdocker-openscad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openscad%2Fdocker-openscad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openscad%2Fdocker-openscad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openscad%2Fdocker-openscad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openscad","download_url":"https://codeload.github.com/openscad/docker-openscad/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openscad%2Fdocker-openscad/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265570983,"owners_count":23789993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T14:09:18.279Z","updated_at":"2025-07-17T06:03:31.919Z","avatar_url":"https://github.com/openscad.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-openscad\nThis repository collects OpenSCAD related docker files. One is meant for running OpenSCAD in a container (for building models, etc.), while the rest are meant for internal use in the OpenSCAD CI automation.\n\n## General Use\n\nFor general use (running OpenSCAD in a container), please use the `openscad/openscad` images published and documented at Docker Hub.\n\n* [openscad/openscad](https://hub.docker.com/repository/docker/openscad/openscad)\n\n### Rendering to a STL/3MF Model\n\n```bash\ndocker run \\\n    -it \\\n    --rm \\\n    -v $(pwd):/openscad \\\n    -u $(id -u ${USER}):$(id -g ${USER}) \\\n    openscad/openscad:latest \\\n    openscad -o CSG.3mf CSG.scad\n```\n\n### Rendering a PNG\n\n```bash\ndocker run \\\n    -it \\\n    --rm \\\n    --init \\\n    -v $(pwd):/openscad \\\n    -u $(id -u ${USER}):$(id -g ${USER}) \\\n    openscad/openscad:latest \\\n    xvfb-run -a openscad -o CSG.png CSG.scad\n```\n\nNote that PNG renderings currently still needs the X display. That limitation can go away soon due to the built-in EGL support. So this needs `--init` and run via `xvfb-run`.\n\n## CI support, for internal use\n\n* `openscad/appimage-*`\n* `openscad/mxe-*`\n* `openscad/src-*`\n\nAll docker images can be viewed with a [Docker Hub search for `openscad/`](https://hub.docker.com/search?q=openscad%2F\u0026image_filter=open_source\u0026type=image).\n\n## Debug Builds\n\nCreating an image with debug symbols depends if the app is compiled with `cmake` or `qmake`. To enable debugging set `BUILD_TYPE=\"Debug\"` and `DEBUG=\"+\"` in `scripts/build-images.sh\n\n\nBefore\n```bash\n--build-arg BUILD_TYPE=\"Release\" \\\n--build-arg DEBUG=\"-\" \\\n```\n\nAfter\n```bash\n--build-arg BUILD_TYPE=\"Debug\" \\\n--build-arg DEBUG=\"+\" \\\n```\n\nExample to run gdb in a container\n```bash\ndocker run --ulimit core=-1 -it -v $(pwd):/input openscad/openscad:2021.01-debug\napt update; apt install gdb -y\nxvfb-run gdb --ex run --args openscad --info\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenscad%2Fdocker-openscad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenscad%2Fdocker-openscad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenscad%2Fdocker-openscad/lists"}