14 lines
389 B
Docker
14 lines
389 B
Docker
# Use the latest Fedora as the base image
|
|
FROM fedora:latest
|
|
|
|
# Set labels for metadata
|
|
LABEL maintainer="Wpanda"
|
|
LABEL description="Custom Fedora image with gemini-cli pre-installed."
|
|
|
|
# Install npm, clean up dnf cache, and create a directory for the app
|
|
RUN dnf install -y npm && \
|
|
dnf clean all
|
|
|
|
# Install @google/gemini-cli globally using npm
|
|
RUN npm install -g @google/gemini-cli
|