Moved all components to F.Cu
This commit is contained in:
@@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
fpga-icestorm \
|
||||
libusb-1.0-0 \
|
||||
libftdi1-2 \
|
||||
tshark \
|
||||
nodejs npm \
|
||||
graphviz \
|
||||
poppler-utils \
|
||||
@@ -30,13 +31,21 @@ ENV VIRTUAL_ENV=/opt/venv
|
||||
RUN python3 -m venv "$VIRTUAL_ENV"
|
||||
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||
|
||||
# ENV PATH alone is not enough: Debian's /etc/profile REsets PATH unconditionally,
|
||||
# so any *login* shell (VS Code's integrated terminal, `su - vscode`, ssh) drops
|
||||
# /opt/venv/bin and then `python` does not exist at all (slim has only python3).
|
||||
# Re-prepend the venv for login shells so the documented `python -m exi_bba.synth`
|
||||
# works everywhere.
|
||||
RUN printf 'PATH="%s/bin:$PATH"\nexport PATH\n' "$VIRTUAL_ENV" > /etc/profile.d/10-venv.sh
|
||||
|
||||
RUN npm install -g @anthropic-ai/claude-code
|
||||
|
||||
COPY requirements.txt /tmp/requirements.txt
|
||||
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
||||
|
||||
# pyftdi: programs the FT2232H EEPROM (product string "re-BBA-rb") over libusb.
|
||||
RUN pip install --no-cache-dir pyftdi
|
||||
# pyftdi: programs the FT2232H EEPROM over libusb, and (with pyserial) reads the
|
||||
# FT2232H channel-B UART directly over libusb for bring-up diagnostics.
|
||||
RUN pip install --no-cache-dir pyftdi pyserial
|
||||
|
||||
RUN useradd -m -u 1000 -s /bin/bash vscode \
|
||||
&& echo 'vscode ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/vscode \
|
||||
|
||||
Reference in New Issue
Block a user