27 lines
629 B
Docker
27 lines
629 B
Docker
|
|
FROM ghcr.io/cirruslabs/flutter:3.35.5
|
||
|
|
|
||
|
|
# Install system dependencies
|
||
|
|
RUN sudo apt-get update && sudo apt-get install -y \
|
||
|
|
python3 \
|
||
|
|
python3-pip \
|
||
|
|
python3-venv \
|
||
|
|
nodejs \
|
||
|
|
npm \
|
||
|
|
jq \
|
||
|
|
curl \
|
||
|
|
git \
|
||
|
|
&& sudo rm -rf /var/lib/apt/lists/*
|
||
|
|
|
||
|
|
# Install Cursor CLI
|
||
|
|
RUN curl https://cursor.com/install -fsS | bash \
|
||
|
|
&& mv /root/.local/bin/cursor-agent /usr/local/bin/cursor-agent \
|
||
|
|
&& chmod +x /usr/local/bin/cursor-agent
|
||
|
|
|
||
|
|
# Verify installations
|
||
|
|
RUN python3 --version && \
|
||
|
|
pip3 --version && \
|
||
|
|
node --version && \
|
||
|
|
npm --version && \
|
||
|
|
flutter --version && \
|
||
|
|
cursor-agent --version
|