From 01306cc080f97c12c8d51e1c534f9011042a9f9f Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Fri, 6 Jun 2025 16:29:18 +0000 Subject: [PATCH 1/2] Add Docker Hub documentation page for sandbox repository - Add new docs page at docs/sandboxes/docker-hub.mdx - Document public Docker repository at hub.docker.com/r/caroljung/codegen-sandbox - Include usage instructions and use cases - Page already added to docs.json navigation --- docs/sandboxes/docker-hub.mdx | 62 +++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 docs/sandboxes/docker-hub.mdx diff --git a/docs/sandboxes/docker-hub.mdx b/docs/sandboxes/docker-hub.mdx new file mode 100644 index 000000000..ff4c5a552 --- /dev/null +++ b/docs/sandboxes/docker-hub.mdx @@ -0,0 +1,62 @@ +--- +title: "Docker Hub Repository" +sidebarTitle: "Docker Hub" +icon: "docker" +--- + +Codegen provides a public Docker repository hosting our sandbox image, making it easy for developers to access and use the same environment that powers Codegen agents. + +## Repository Access + +The Codegen sandbox image is publicly available on Docker Hub: + +**Repository URL:** [https://hub.docker.com/r/caroljung/codegen-sandbox](https://hub.docker.com/r/caroljung/codegen-sandbox) + +This repository contains the same Docker image that Codegen agents use in their sandbox environments, providing you with: + +- A comprehensive development environment +- Pre-installed tools and dependencies +- Consistent runtime environment across different platforms + +## Using the Docker Image + +You can pull and run the Codegen sandbox image locally using standard Docker commands: + +```bash +# Pull the latest image +docker pull caroljung/codegen-sandbox:latest + +# Run an interactive container +docker run -it caroljung/codegen-sandbox:latest /bin/bash +``` + +## What's Included + +The sandbox image includes the same tools and environment that Codegen agents use: + +- **Development Tools:** Git, build tools, compilers, and package managers +- **Runtime Environments:** Python, Node.js, and other language runtimes +- **System Utilities:** Common Unix tools and utilities for development workflows +- **Package Managers:** npm, pip, yarn, and other dependency management tools + +For a complete list of included tools and packages, see the [Base Image](/sandboxes/base-image) documentation. + +## Use Cases + +The public Docker repository enables several use cases: + +- **Local Development:** Test your code in the same environment Codegen agents use +- **CI/CD Integration:** Use the sandbox image in your continuous integration pipelines +- **Debugging:** Reproduce issues that occur in Codegen sandbox environments +- **Custom Workflows:** Build upon the Codegen sandbox for your own automation needs + +## Repository Maintenance + +The Docker Hub repository is maintained by the Codegen team and updated regularly to ensure: + +- Security patches are applied promptly +- Development tools remain current +- Compatibility with Codegen agent workflows is maintained + +For questions about the Docker repository or to report issues, please contact our support team. + From 10426045a7f11ebe9f98248d04582588b1d1004f Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Fri, 6 Jun 2025 16:38:12 +0000 Subject: [PATCH 2/2] Add Docker Hub documentation to navigation - Added sandboxes/docker-hub to the Sandboxes navigation group in docs.json - This ensures the docker-hub.mdx file is properly accessible through the documentation navigation - Fixes the failing check that validates all MDX files have corresponding navigation entries --- docs/docs.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs.json b/docs/docs.json index bcb781e65..c3540a088 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -49,7 +49,8 @@ "sandboxes/environment-variables", "sandboxes/secrets", "sandboxes/editor", - "sandboxes/web-preview" + "sandboxes/web-preview", + "sandboxes/docker-hub" ] }, {