{"id":19519153,"url":"https://github.com/temperlang/temper-docker","last_synced_at":"2026-02-15T12:38:05.120Z","repository":{"id":241835916,"uuid":"807799870","full_name":"temperlang/temper-docker","owner":"temperlang","description":"Manage the Temper CLI with containers.","archived":false,"fork":false,"pushed_at":"2024-12-10T22:05:10.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-06T19:49:11.406Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/temperlang.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,"zenodo":null}},"created_at":"2024-05-29T19:50:38.000Z","updated_at":"2024-05-29T20:01:44.000Z","dependencies_parsed_at":"2024-05-30T08:18:30.489Z","dependency_job_id":"c541f8fe-f5df-41f8-a5eb-5180d869d618","html_url":"https://github.com/temperlang/temper-docker","commit_stats":null,"previous_names":["temperlang/temper-docker"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/temperlang/temper-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temperlang%2Ftemper-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temperlang%2Ftemper-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temperlang%2Ftemper-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temperlang%2Ftemper-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/temperlang","download_url":"https://codeload.github.com/temperlang/temper-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temperlang%2Ftemper-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29478355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T11:35:25.641Z","status":"ssl_error","status_checked_at":"2026-02-15T11:34:57.128Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-11T00:16:35.470Z","updated_at":"2026-02-15T12:38:05.088Z","avatar_url":"https://github.com/temperlang.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Temper on Docker\n\n\u003e And podman!\n\nThis repository contains releases only; the source will be available within the main temper repo.\n\n### Getting started, quickly\n\nA great thing about Temper is that it integrates with many languages, but if you're trying it out, you'd probably prefer not to install half a dozen build systems.\n\nThe `temper-docker` tool manages the Temper toolchain, including backend build systems, via containers.\n\nBy running the `temper` CLI inside a container, you get the correct versions of the supporting tools ready to go. It mounts your local filesystem into the container to integrate with your regular workflow.\n\n#### Docker or Podman\n\nYou'll need to [install Docker](https://docs.docker.com/get-docker/) or [install Podman](https://podman.io/docs/installation) and make sure they're running. The `temper-docker` tool will detect which is installed using the normal environment variables and default settings.\n\n(TODO: verify which versions are required)\n\n#### Download `temper-docker`\n\nDownload the distribution for your OS from [the releases page](https://github.com/temperlang/temper-docker/releases) and unzip, placing the binary some place convenient.\n\nYou may need to mark the binary as executable / safe:\n\n- `chmod +x ./temper-docker` on Linux, Mac, WSL\n- `xattr -d com.apple.quarantine ./temper-docker` on Mac\n\n\u003e For clarity, we'll call it `./temper-docker`, but it's a single statically-linked binary and it does not matter what it's named or where it's installed.\n\n#### Running\n\nWe'll assume you've named the binary `temper-docker`.\n\n``` bash\n./temper-docker help\n```\n\nIt will download the container in the background, and then call the `temper` CLI with the help command. (TODO: make the progress more consistent and prettier.)\n\n(TODO: replace auto-download with a less magical scheme.)\n\n#### Support commands\n\nWhile the `temper-docker` command is designed to pass its arguments to the `temper` CLI, it provides a few features to help manage the container.\n\n``` sh\n# display help for the temper-docker command itself\n./temper-docker --runner-help\n\n# log into the container as a regular user\n./temper-docker --shell\n\n# log into the container as root\n./temper-docker --root\n```\n\n### Uninstallation\n\nThe uninstallation process is:\n\n- stop and delete all containers whose name starts with `temper_`\n- delete all `ghcr.io/temperlang/temper` images\n- delete the `./temper-docker` binary\n- uninstall Docker or Podman if you don't need them\n\n## Additional notes\n\n### Containers and work roots\n\nIf you're less familiar with how containers work, briefly:\n\n* an **image** contains an OS and applications preinstalled\n* a **container** is an isolated set of processes running on that image\n* a **mount** gives a container access to the host filesystem\n\nThe `temper-docker` command determines Temper work root by:\n\n* (TODO: use the `--workroot` argument to `temper build`)\n* (TODO: add the `temper.out` rule)\n* looking for `config.temper.md` in an ancestor directory\n* falling back to the working directory\n\nThe work root is translated into a container name, and `./temper-docker` either reuses or creates a new container. That container will have a mount placed at the work root.\n\nTo forcibly recreate a container, use `./temper-docker --new-container`.\n\n### Similarities to the `docker` and `podman` CLIs\n\nGenerally, `temper-docker` is very similar to `docker run`. Containers are typically optimized for running services like databases or web servers rather than integrating command-line applications, so there are a few differences:\n\n* directly wraps the `temper` CLI so it can be invoked without special arguments\n* automates mounting your local file system\n* the container will shut itself down after a period of time if no process is running\n* detects an interactive terminal session and does some work to make sure your terminal is configured\n* (TODO: pass host filesystem watch events into the container)\n* (TODO: allow persistent custom tool installs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemperlang%2Ftemper-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftemperlang%2Ftemper-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemperlang%2Ftemper-docker/lists"}