FROM ubuntu:24.04 # Install dependencies RUN apt-get update && apt-get install -y \ curl \ git \ build-essential \ unzip \ jq \ python3 \ python3-pip \ && rm -rf /var/lib/apt/lists/* # Install AWS CLI COPY awscliv2.zip /tmp/ RUN unzip /tmp/awscliv2.zip -d /tmp \ && /tmp/aws/install \ && rm -rf /tmp/aws /tmp/awscliv2.zip # Install Node.js RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \ && apt-get install -y nodejs \ && rm -rf /var/lib/apt/lists/* # Install Claude Code CLI RUN npm install -g @anthropic-ai/claude-code # Create working directory WORKDIR /repo # The entrypoint will be the command provided when running the container ENTRYPOINT ["/bin/bash", "-c"] CMD ["echo 'Claude Code container is ready. Provide a command to execute.'"]