refactor(input): bake codex cli runtime
This commit is contained in:
@@ -15,7 +15,9 @@ RUN apt-get update \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN npm install --location=global codex-cli || true
|
||||
# Install the official Codex CLI so the container can invoke `codex prompt`.
|
||||
# The CLI expects credentials/configuration from the mounted ~/.codex directory.
|
||||
RUN npm install --location=global @openai/codex
|
||||
|
||||
RUN groupadd -r codex && \
|
||||
useradd -r -m -g codex -s /bin/bash codex
|
||||
|
||||
Reference in New Issue
Block a user