21 lines
451 B
Docker
21 lines
451 B
Docker
FROM python:3.12-slim-bookworm
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
git \
|
|
yosys \
|
|
nextpnr-ice40 \
|
|
fpga-icestorm \
|
|
nodejs npm \
|
|
graphviz \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN npm install -g @anthropic-ai/claude-code
|
|
|
|
COPY requirements.txt /tmp/requirements.txt
|
|
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
|
|
|
RUN useradd -m -u 1000 -s /bin/bash vscode
|
|
|
|
USER vscode
|
|
WORKDIR /workspace
|