{"id":19874105,"url":"https://github.com/pythoninthegrass/distrobox_ftw","last_synced_at":"2025-03-01T01:23:00.623Z","repository":{"id":255272888,"uuid":"849077811","full_name":"pythoninthegrass/distrobox_ftw","owner":"pythoninthegrass","description":"Bespoke distrobox image","archived":false,"fork":false,"pushed_at":"2024-08-29T00:01:43.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T21:49:54.808Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"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/pythoninthegrass.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":"2024-08-28T23:55:36.000Z","updated_at":"2024-08-29T00:01:47.000Z","dependencies_parsed_at":"2024-08-29T01:34:07.086Z","dependency_job_id":null,"html_url":"https://github.com/pythoninthegrass/distrobox_ftw","commit_stats":null,"previous_names":["pythoninthegrass/distrobox_ftw"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fdistrobox_ftw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fdistrobox_ftw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fdistrobox_ftw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fdistrobox_ftw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythoninthegrass","download_url":"https://codeload.github.com/pythoninthegrass/distrobox_ftw/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241301770,"owners_count":19940702,"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-12T16:21:44.258Z","updated_at":"2025-03-01T01:23:00.606Z","avatar_url":"https://github.com/pythoninthegrass.png","language":"Shell","readme":"# distrobox_ftw\n\nSets up an opinionated development environment for a distrobox container image.\n\n## Minimum Requirements\n\n* Linux\n* [docker](https://docs.docker.com/get-docker/)\n* [distrobox](https://distrobox.it)\n\n## Quickstart\n\n* clone repo\n    ```bash\n    git clone https://github.com/pythoninthegrass/distrobox_ftw.git\n    cd distrobox_ftw\n    ```\n* distrobox commands\n    ```bash\n    # create image\n    # ! might need to ctrl-c if it hangs\n    # * check `docker logs` for progress \n    distrobox assemble create\n\n    # enter container\n    distrobox enter \u003cdev\u003e\n\n    # export a gui app\n    distrobox-export -a code\n\n    # export a binary\n    distrobox-export -b $(which python)\n    \n    # exit container\n    exit\n\n    # stop container\n    distrobox stop \u003cdev\u003e\n\n    # remove image\n    distrobox assemble rm\n    ```\n\n## Notes\n\n* distrobox home is set to `~/.local/share/distrobox`\n* `init_hooks.sh` script may still be mounted to `/tmp` in the final image\n* `ssh` is enabled via `systemd` at port 2222\n* Exported apps and binaries are in `~/.local/bin`\n* When a container is removed, it doesn't automatically remove the exported apps/binaries\n  * It should prompt to launch the container, then remove them though\n\n## TODO\n\n* Verify if `init_hooks.sh` is still mounted in final image\n* Use ansible playbook for asdf, docker, etc\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythoninthegrass%2Fdistrobox_ftw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythoninthegrass%2Fdistrobox_ftw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythoninthegrass%2Fdistrobox_ftw/lists"}