diff options
| author | Brandon Keiji <[email protected]> | 2025-04-28 20:25:19 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-28 13:25:19 -0700 |
| commit | 7ad65566236dd0eb81e49f0611ecafde2ebcd63d (patch) | |
| tree | 0bb73fcc3b8df27ae6fe9aee74264653806a60c7 /packages/cli/Dockerfile.sandbox | |
| parent | 304d1f2712d051de85c9e64025ccec0d560981e3 (diff) | |
feat: publish docker image alongside npm package (#197)
Diffstat (limited to 'packages/cli/Dockerfile.sandbox')
| -rw-r--r-- | packages/cli/Dockerfile.sandbox | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/cli/Dockerfile.sandbox b/packages/cli/Dockerfile.sandbox new file mode 100644 index 00000000..1d4c4048 --- /dev/null +++ b/packages/cli/Dockerfile.sandbox @@ -0,0 +1,26 @@ +FROM docker.io/library/node:20-slim + +ARG CLI_VERSION +ENV SANDBOX=${CLI_VERSION} + +# 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@${CLI_VERSION} --verbose +ENTRYPOINT 'gemini-code' |
