-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (26 loc) · 919 Bytes
/
Dockerfile
File metadata and controls
33 lines (26 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Containerized Claude Code environment for Massdriver development
FROM node:20-slim
# Install system dependencies
RUN apt-get update && apt-get install -y \
curl \
git \
unzip \
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
# Install Claude Code CLI
RUN npm install -g @anthropic-ai/claude-code
# Install Massdriver CLI v1.14.3
RUN ARCH=$(dpkg --print-architecture) && \
curl -sSL -o /tmp/mass.tar.gz "https://github.com/massdriver-cloud/mass/releases/download/1.14.3/mass-1.14.3-linux-${ARCH}.tar.gz" && \
tar -xzf /tmp/mass.tar.gz -C /usr/local/bin mass && \
rm /tmp/mass.tar.gz && \
chmod +x /usr/local/bin/mass
# Install Checkov for compliance scanning
RUN pip3 install checkov --break-system-packages
# Create working directory
WORKDIR /workspace
# Create config directory for Massdriver
RUN mkdir -p /root/.config/massdriver
# Default command
CMD ["bash"]