Try to fix workers and workspace
This commit is contained in:
@@ -5,6 +5,7 @@ ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
bash \
|
||||
bubblewrap \
|
||||
build-essential \
|
||||
ca-certificates \
|
||||
curl \
|
||||
@@ -14,11 +15,9 @@ RUN apt-get update \
|
||||
python3 \
|
||||
ripgrep \
|
||||
&& corepack enable \
|
||||
&& npm install -g bun@1.3.10 opencode-ai@latest \
|
||||
&& npm install -g bun@1.3.10 opencode-ai@latest @openai/codex@latest \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN useradd --create-home --shell /bin/bash agent
|
||||
USER agent
|
||||
WORKDIR /workspace
|
||||
|
||||
CMD ["bash"]
|
||||
|
||||
Reference in New Issue
Block a user