Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions components/runners/claude-code-runner/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
FROM python:3.11-slim

# Install system dependencies
RUN apt-get update && apt-get install -y \
git \
curl \
ca-certificates \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y nodejs \
&& npm install -g @anthropic-ai/claude-code \
&& rm -rf /var/lib/apt/lists/*
FROM registry.access.redhat.com/ubi9/python-311@sha256:d0b35f779ca0ae87deaf17cd1923461904f52d3ef249a53dbd487e02bdabdde6

USER 0

RUN npm install -g @anthropic-ai/claude-code

# Create working directory
WORKDIR /app
Expand All @@ -35,5 +29,7 @@ ENV TERM=xterm-256color
# OpenShift compatibility
RUN chmod -R g=u /app && chmod -R g=u /usr/local && chmod g=u /etc/passwd

USER 1001

# Default command - run via runner-shell
CMD ["python", "/app/claude-runner/wrapper.py"]
Loading