{"id":15400497,"url":"https://github.com/whisperity/distcc-docker","last_synced_at":"2026-04-13T10:31:09.737Z","repository":{"id":237938850,"uuid":"699789919","full_name":"whisperity/distcc-docker","owner":"whisperity","description":"DistCC for LTS OS compiler images in and through Docker","archived":false,"fork":false,"pushed_at":"2024-05-22T14:14:15.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-22T15:04:58.012Z","etag":null,"topics":["c","clang","compiler","container","cpp","distcc","docker","docker-image","gcc"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whisperity.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-03T10:50:30.000Z","updated_at":"2024-05-22T15:05:00.357Z","dependencies_parsed_at":"2024-05-03T17:16:28.716Z","dependency_job_id":"9f585fcd-8086-4f3b-951e-b57dc008d521","html_url":"https://github.com/whisperity/distcc-docker","commit_stats":null,"previous_names":["whisperity/distcc-lts","whisperity/distcc-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/whisperity/distcc-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperity%2Fdistcc-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperity%2Fdistcc-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperity%2Fdistcc-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperity%2Fdistcc-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whisperity","download_url":"https://codeload.github.com/whisperity/distcc-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperity%2Fdistcc-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31748893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["c","clang","compiler","container","cpp","distcc","docker","docker-image","gcc"],"created_at":"2024-10-01T15:54:03.092Z","updated_at":"2026-04-13T10:31:09.717Z","avatar_url":"https://github.com/whisperity.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[DistCC](http://distcc.org) Docker\n==================================\n\nThis project provides support for executing a [DistCC](http://distcc.org) worker in a [Docker](http://docker.com) environment, supporting all major compilers' every accessible LTS-available version on the platform.\nPut simply, this allows using a single DistCC environment, using, e.g., an Ubuntu 20.04 base image, to run the major compilers available under Ubuntu 20.04, 22.04, and 24.04 LTSes simultaneously.\n\n\n\nUsage\n-----\n\nThe easiest way to obtain a running container with the default and suggested configuration is by calling `docker compose up` for the provided [`docker-compose.yml`](/docker-compose.yml) file.\n\n\n```bash\ndocker-compose up --detach\n```\n\n\u003e [!IMPORTANT]\n\u003e\n\u003e For **Ubuntu 20.04 \"Focal Fossa\" LTS** host computers, it is very likely that a newer version of _Docker Compose_ is needed first:\n\u003e\n\u003e\n\u003e ```bash\n\u003e wget \"http://github.com/docker/compose/releases/download/v2.27.0/docker-compose-linux-x86_64\"\n\u003e sudo mv \"./docker-compose-linux-x86_64\" \"/usr/local/bin/docker-compose\"\n\u003e sudo chmod +x \"/usr/local/bin/docker-compose\"\n\u003e ```\n\n\n\n### Downloading or building the image\n\nThe image is available in the [**GitHub Container Registry**](http://ghcr.io) under [`whisperity/distcc-docker`](http://github.com/whisperity/distcc-docker/pkgs/container/distcc-docker).\n\nAlternatively, you can build the image yourself locally after cloning the repository:\n\n\n```bash\ndocker build \\\n  --tag distcc-docker:latest \\\n  .\n```\n\n\nBy default, the build process of the image will install the necessary and available compiler versions for best support.\nIn case a smaller image is deemed necessary, pass `--build-arg=\"LAZY_COMPILERS=1\"`.\nIf passed, the resulting image will install the curated list of compilers **at the first start** of the container, without occupying space in the _image_.\nHowever, this will increase the network use and the initial deployment time of the containers.\n\n\n\n### Setting up the worker\n\nAlternatively, you can start the container manually, with the following arguments.\nThe running container will act as the master DistCC daemon of the host computer, listening on the _default_ ports `3632` and `3633`.\n\n\n```bash\ndocker run  \\\n  --detach \\\n  --init \\\n  --mount type=tmpfs,destination=/tmp,tmpfs-size=8G \\\n  --publish 3632:3632/tcp \\\n  --publish 3633:3633/tcp \\\n  --restart unless-stopped \\\n  ghcr.io/whisperity/distcc-docker:ubuntu-20.04\n```\n\n\nThe number of worker threads available for the service can be configured by passing `--jobs N` after the image name, directly to the container's _\"`main()`\"_ script.\nThe suggested _default_ is the number of CPU threads available on the machine, minus 2.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhisperity%2Fdistcc-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhisperity%2Fdistcc-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhisperity%2Fdistcc-docker/lists"}