42 lines
828 B
Docker
42 lines
828 B
Docker
FROM debian:trixie
|
|
|
|
RUN apt-get update -y && \
|
|
apt-get install -y --no-install-recommends \
|
|
git \
|
|
nodejs \
|
|
npm \
|
|
vim \
|
|
btop \
|
|
curl \
|
|
wget \
|
|
jq \
|
|
yq \
|
|
ca-certificates \
|
|
ssh \
|
|
dnsutils && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV COLORTERM=truecolor
|
|
ENV TERM=xterm-256color
|
|
|
|
# Install Openspec
|
|
RUN npm i -g @fission-ai/openspec@latest
|
|
|
|
RUN useradd -ms /bin/bash m
|
|
|
|
USER m
|
|
WORKDIR /workspace
|
|
|
|
# Install Claude Code CLI
|
|
RUN curl -fsSL https://claude.ai/install.sh | bash
|
|
|
|
RUN mkdir -p ~/.ssh
|
|
RUN chmod 700 ~/.ssh
|
|
RUN ssh-keyscan github.com >> ~/.ssh/known_hosts
|
|
|
|
RUN echo 'alias clauded="claude --dangerously-skip-permissions"' >> ~/.bashrc
|
|
RUN echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
|
|
|
|
# Default command - keep container running
|
|
CMD ["bash"]
|