mirror of
https://github.com/johndoe6345789/AutoMetabuilder.git
synced 2026-04-24 13:54:59 +00:00
- Implement core components: CLI argument parsing, environment loading, GitHub service creation, and logging configuration. - Add support for OpenAI client setup and model resolution. - Develop SDLC context loader from GitHub and repository files. - Implement workflow context and engine builders. - Introduce major workflow packages: `game_tick_loop` and `contextual_iterative_loop`. - Update localization files with new package descriptions and labels. - Streamline web navigation by loading items from a dedicated JSON file.
10 lines
340 B
Python
10 lines
340 B
Python
"""Run a task inside Docker."""
|
|
import os
|
|
from ..docker_utils import run_command_in_docker
|
|
|
|
|
|
def run_docker_task(image: str, command: str, workdir: str = "/workspace") -> str:
|
|
"""Run a command inside Docker."""
|
|
volumes = {os.getcwd(): "/workspace"}
|
|
return run_command_in_docker(image, command, volumes=volumes, workdir=workdir)
|