diff options
| author | Brandon Keiji <[email protected]> | 2025-04-26 00:30:50 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-25 17:30:50 -0700 |
| commit | d051c0fd0fdac2078e35144f27bfcea415bd503e (patch) | |
| tree | d32f95fe5147122a4343a7c579cc92ecba5ef47a /packages/cli/Dockerfile | |
| parent | a5ba681f8df6efc0669370249b860546b690c09e (diff) | |
feat: prototype publish sandbox script with npm package (#182)
Diffstat (limited to 'packages/cli/Dockerfile')
| -rw-r--r-- | packages/cli/Dockerfile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/cli/Dockerfile b/packages/cli/Dockerfile new file mode 100644 index 00000000..9cf4b1b9 --- /dev/null +++ b/packages/cli/Dockerfile @@ -0,0 +1,27 @@ +FROM docker.io/library/node:20-slim + +ENV GEMINI_CODE_SANDBOX=docker +ENV SANDBOX=sandbox + +# install minimal set of packages, then clean up +RUN apt-get update && apt-get install -y --no-install-recommends \ + man-db \ + curl \ + dnsutils \ + less \ + jq \ + bc \ + gh \ + git \ + unzip \ + rsync \ + ripgrep \ + procps \ + psmisc \ + lsof \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + +RUN --mount=type=secret,id=npmrc,dst=/root/.npmrc npm install -g @gemini-code/cli@head --verbose + +ENTRYPOINT 'gemini-code'
\ No newline at end of file |
