Last active
July 3, 2025 16:07
-
-
Save sulrich/2503655b42f6335fca95ded9352d2f4a to your computer and use it in GitHub Desktop.
gemini-cli Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# is there a lighter container that fits the bill here? | |
FROM node:20 | |
RUN useradd -m gemini | |
RUN apt-get update && \ | |
apt-get install -y nodejs npm && \ | |
rm -rf /var/lib/apt/lists/* | |
RUN npm install -g @google/gemini-cli | |
WORKDIR /app | |
RUN chown -R gemini:gemini /app | |
USER gemini | |
# default command to run on start | |
CMD ["/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment