Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(base): install Goose CLI #85

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
maxamillion wants to merge 1 commit into NVIDIA:main
base: main
Choose a base branch
Loading
from maxamillion:goose
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions sandboxes/base/Dockerfile
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ WORKDIR /sandbox
# dnsutils: dig, nslookup
# Python is managed entirely by uv (see devtools stage).
RUN apt-get update && apt-get install -y --no-install-recommends \
bash \
ca-certificates \
curl \
dnsutils \
Expand Down Expand Up @@ -92,6 +93,23 @@ RUN curl -fsSL https://claude.ai/install.sh | bash \
&& cp /root/.local/bin/claude /usr/local/bin/claude \
&& chmod 755 /usr/local/bin/claude

# Install Goose CLI/agent for all OpenShell sandboxes.
# Goose provider credentials are intentionally configured at runtime, not baked into the image.
ARG GOOSE_VERSION=stable
RUN curl -fsSL "https://github.com/aaif-goose/goose/releases/download/${GOOSE_VERSION}/download_cli.sh" \
-o /tmp/download_cli.sh \
&& if [ "${GOOSE_VERSION}" = "stable" ]; then \
CONFIGURE=false env -u GOOSE_VERSION bash /tmp/download_cli.sh; \
else \
CONFIGURE=false bash /tmp/download_cli.sh; \
fi \
&& rm -f /tmp/download_cli.sh \
&& if [ -f "$HOME/.local/bin/goose" ]; then \
mv "$HOME/.local/bin/goose" /usr/local/bin/goose; \
fi \
&& chmod +x /usr/local/bin/goose \
&& goose --version

# uv (Python package/project manager) — pinned for reproducibility.
# uv manages the Python toolchain; no system Python packages are needed.
COPY --from=ghcr.io/astral-sh/uv:0.10.8 /uv /usr/local/bin/uv
Expand Down
11 changes: 10 additions & 1 deletion sandboxes/base/README.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The foundational sandbox image that all other OpenShell Community sandbox images
| OS | Ubuntu 24.04 |
| Languages | `python3` (3.14.3), `node` (22.22.1) |
| Package managers | `npm` (11.11.0), `uv` (0.10.8), `pip` |
| Coding agents | `claude`, `opencode`, `codex`, `copilot` |
| Coding agents | `claude`, `goose`, `opencode`, `codex`, `copilot` |
| Developer | `gh`, `git`, `vim`, `nano` |
| Networking | `ping`, `dig`, `nslookup`, `nc`, `traceroute`, `netstat`, `curl` |

Expand Down Expand Up @@ -57,6 +57,15 @@ FROM ${BASE_IMAGE}

See the other directories under `sandboxes/` for examples.

## Goose

The base image installs Goose from the official AAIF Goose repository:

- https://github.com/aaif-goose/goose
- https://goose-docs.ai/

Goose provider credentials are configured at runtime and are not baked into the sandbox image.

## Codex authentication

For remote or headless OpenShell environments, if browser login hangs, try authenticating Codex with:
Expand Down

AltStyle によって変換されたページ (->オリジナル) /