{"id":28605673,"url":"https://github.com/openai/codex-universal","last_synced_at":"2025-06-18T07:05:08.524Z","repository":{"id":293704845,"uuid":"981437617","full_name":"openai/codex-universal","owner":"openai","description":"Base docker image used in Codex environments","archived":false,"fork":false,"pushed_at":"2025-05-28T03:10:36.000Z","size":17,"stargazers_count":411,"open_issues_count":38,"forks_count":84,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-11T19:35:34.473Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES/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,"zenodo":null}},"created_at":"2025-05-11T05:20:12.000Z","updated_at":"2025-06-11T17:54:33.000Z","dependencies_parsed_at":"2025-05-16T18:27:50.427Z","dependency_job_id":"7a675ed3-87b8-4bd9-aac8-398486430d79","html_url":"https://github.com/openai/codex-universal","commit_stats":null,"previous_names":["openai/codex-universal"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/openai/codex-universal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openai%2Fcodex-universal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openai%2Fcodex-universal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openai%2Fcodex-universal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openai%2Fcodex-universal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openai","download_url":"https://codeload.github.com/openai/codex-universal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openai%2Fcodex-universal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260506987,"owners_count":23019449,"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":"2025-06-11T19:01:29.467Z","updated_at":"2025-06-18T07:05:03.509Z","avatar_url":"https://github.com/openai.png","language":"Dockerfile","readme":"# codex-universal\n\n`codex-universal` is a reference implementation of the base Docker image available in [OpenAI Codex](http://platform.openai.com/docs/codex).\n\nThis repository is intended to help developers cutomize environments in Codex, by providing a similar image that can be pulled and run locally. This is not an identical environment but should help for debugging and development.\n\nFor more details on environment setup, see [OpenAI Codex](http://platform.openai.com/docs/codex).\n\n## Usage\n\nThe Docker image is available at:\n\n```\ndocker pull ghcr.io/openai/codex-universal:latest\n```\n\nThe below script shows how can you approximate the `setup` environment in Codex:\n\n```sh\n# See below for environment variable options.\n# This script mounts the current directory similar to how it would get cloned in.\ndocker run --rm -it \\\n    -e CODEX_ENV_PYTHON_VERSION=3.12 \\\n    -e CODEX_ENV_NODE_VERSION=20 \\\n    -e CODEX_ENV_RUST_VERSION=1.87.0 \\\n    -e CODEX_ENV_GO_VERSION=1.23.8 \\\n    -e CODEX_ENV_SWIFT_VERSION=6.1 \\\n    -v $(pwd):/workspace/$(basename $(pwd)) -w /workspace/$(basename $(pwd)) \\\n    ghcr.io/openai/codex-universal:latest\n```\n\n`codex-universal` includes setup scripts that look for `CODEX_ENV_*` environment variables and configures the language version accordingly.\n\n### Configuring language runtimes\n\nThe following environment variables can be set to configure runtime installation. Note that a limited subset of versions are supported (indicated in the table below):\n\n| Environment variable       | Description                | Supported versions                               | Additional packages                                                  |\n| -------------------------- | -------------------------- | ------------------------------------------------ | -------------------------------------------------------------------- |\n| `CODEX_ENV_PYTHON_VERSION` | Python version to install  | `3.10`, `3.11.12`, `3.12`, `3.13`                | `pyenv`, `poetry`, `uv`, `ruff`, `black`, `mypy`, `pyright`, `isort` |\n| `CODEX_ENV_NODE_VERSION`   | Node.js version to install | `18`, `20`, `22`                                 | `corepack`, `yarn`, `pnpm`, `npm`                                    |\n| `CODEX_ENV_RUST_VERSION`   | Rust version to install    | `1.83.0`, `1.84.1`, `1.85.1`, `1.86.0`, `1.87.0` |                                                                      |\n| `CODEX_ENV_GO_VERSION`     | Go version to install      | `1.22.12`, `1.23.8`, `1.24.3`                    |                                                                      |\n| `CODEX_ENV_SWIFT_VERSION`  | Swift version to install   | `5.10`, `6.1`                                    |                                                                      |\n\n## What's included\n\nIn addition to the packages specified in the table above, the following packages are also installed:\n\n- `ruby`: 3.2.3\n- `bun`: 1.2.10\n- `java`: 21\n- `bazelisk` / `bazel`\n\nSee [Dockerfile](Dockerfile) for the full details of installed packages.\n","funding_links":[],"categories":["Tools","HarmonyOS","Dockerfile"],"sub_categories":["setup tool","Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenai%2Fcodex-universal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenai%2Fcodex-universal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenai%2Fcodex-universal/lists"}