Skip to content

feat: completing PowerShell script development can better support the Windows operating system. #479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

doggy8088
Copy link

This pull request introduces two new PowerShell scripts to streamline the workflow for building and running the codex container. These scripts aim to simplify container management and improve usability, especially for Windows users. Below are the key changes:

New Build Script (build_container.ps1)

  • Added a PowerShell script to automate the build process for the codex container. It includes steps for dependency installation, packaging, and Docker image creation, along with a patch to resolve permission issues on Windows.

New Run Script (run_in_container.ps1)

  • Added a PowerShell script to facilitate running the codex container. It supports setting the working directory, handling the OPENAI_API_KEY via parameters or environment variables, and passing prompts to the containerized application. The script also includes cleanup logic for old containers and utilities for argument quoting.

Copy link

github-actions bot commented Apr 21, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@doggy8088
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Apr 21, 2025
@doggy8088 doggy8088 force-pushed the pwsh-on-windows branch 6 times, most recently from 5aa7aaf to 15819dd Compare April 22, 2025 09:12
@tibo-openai tibo-openai changed the title Completing PowerShell script development can better support the Windows operating system. feat: completing PowerShell script development can better support the Windows operating system. Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant