Files
claude-hub/Dockerfile.claude
Jonathan Flatt fc567071dd Initial commit
2025-05-20 17:01:59 +00:00

33 lines
812 B
Docker

FROM ubuntu:22.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.'"]