{"id":20656231,"url":"https://github.com/cgal/bundle-cgal-3d-demo","last_synced_at":"2025-07-30T14:13:35.119Z","repository":{"id":75098451,"uuid":"147363344","full_name":"CGAL/bundle-CGAL-3D-demo","owner":"CGAL","description":"Automatic building of the CGAL 3D demo (Polyhedron Demo)","archived":false,"fork":false,"pushed_at":"2020-05-06T08:04:59.000Z","size":56,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-09T22:47:46.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CGAL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-09-04T14:57:17.000Z","updated_at":"2024-01-24T02:15:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd1cde6f-67b1-4401-b0cd-f7e10d2e2331","html_url":"https://github.com/CGAL/bundle-CGAL-3D-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CGAL/bundle-CGAL-3D-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CGAL%2Fbundle-CGAL-3D-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CGAL%2Fbundle-CGAL-3D-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CGAL%2Fbundle-CGAL-3D-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CGAL%2Fbundle-CGAL-3D-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CGAL","download_url":"https://codeload.github.com/CGAL/bundle-CGAL-3D-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CGAL%2Fbundle-CGAL-3D-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260889693,"owners_count":23077855,"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-16T18:14:26.424Z","updated_at":"2025-06-20T05:33:03.372Z","avatar_url":"https://github.com/CGAL.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `docker.io/cgal/bundle-3d-demo` [![Build Status]][status-img]\nAutomatic building of the CGAL 3D demo (Polyhedron Demo)\n\n## Overview\n\nA simple command line to build the demo from `$HOME/Git/cgal`, and put it\nin the `results/` sub-directory of your current working-directory:\n\n```shell\ndocker run --rm -v $PWD/results:/results:Z -v ~/Git/cgal:/cgal:ro docker.io/cgal/bundle-3d-demo  `/scripts/build.sh -j6 \u0026\u0026 /scripts/deploy.sh'\n```\n\n## Usage\n\n### Container Directories\n\nThe container scripts uses those directories:\n\n- `/cgal/` is the location of CGAL sources. It can be either a Git checkout\n  of a CGAL branch, or an extracted tarball.\n- `/build/` is the binary directory used during the compilation. In\n  particular `/build/demo/Polyhedron/` will be the binary tree of the demo.\n- `/scripts/` contains the two scripts used to build and create the\n  AppImage of the demo:\n  - `/scripts/build.sh`\n  - `/scripts/deploy.sh`\n- `/dist/` is the AppDir created by [`linuxdeployqt`] before [`appimagetool`]\n  is called.\n- `/results/` is the output directory where the AppImage binary will be\n  created.\n\nDirectories you should mount as Docker volumes:\n\n  - `/cgal/`, as a read-only volume, because that is the input of the\n    scripts, and\n  - `/results/`, as a read-write volume, to get an easy access to the\n    result.\n\nDirectories that can be mounted as Docker volumes for debugging purpose:\n\n  - `/build/` (read-write) if you want to avoid rebuilding the full demo\n    between two runs of the container,\n  - `/scripts/` (read-only) if you want to debug the scripts,\n  - `/dist/` if you want to debug issues with `linuxdeployqt`.\n\n### The Main Command\nThe entrypoint of the container is `[\"scl\", \"enable\",\n\"devtoolset-4\"]`. That command only accept one extra option, that is\ninterpreted by a shell. Quote it with single-quotes (`'`).\n\nFor example, a possible debugging command line is:\n\n```shell\ndocker run --rm -t -i -v $PWD/build:/build:Z -v $PWD/results:/results:Z -v $PWD/scripts:/scripts:ro -v $PWD/dist:/dist:Z -v ~/Git/cgal:/cgal:ro docker.io/cgal/bundle-3d-demo  'bash -x /scripts/build.sh -j6 VERBOSE=1 \u0026\u0026 bash -x /scripts/deploy.sh'\n```\n\nThe extra `:Z` option to volume specification is used on Linux version\nwhere docker-selinux is enabled. It allows the container to write to the directory.\n\n[Build Status]: https://travis-ci.org/CGAL/bundle-CGAL-3D-demo.svg?branch=master\n[status-img]: https://travis-ci.org/CGAL/bundle-CGAL-3D-demo\n[`linuxdeployqt`]: https://github.com/probonopd/linuxdeployqt\n[`appimagetool`]: https://github.com/probonopd/AppImageKit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgal%2Fbundle-cgal-3d-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcgal%2Fbundle-cgal-3d-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgal%2Fbundle-cgal-3d-demo/lists"}