File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,11 @@ FROM ubuntu:latest
22COPY st-stm32cubeclt_1.14.0_19471_20231121_1200_amd64.deb_bundle.sh /install.sh
33
44RUN apt update && apt upgrade
5- RUN apt-get install -y libusb-1.0-0-dev clang
5+ RUN apt-get install -y libusb-1.0-0-dev clang python3 python3-pip python3-venv
6+
7+ # Create and activate the virtual environment
8+ RUN python3 -m venv /venv
9+ ENV PATH="/venv/bin:$PATH"
610
711# Install CMake using KitWare's APT repository (https://apt.kitware.com/)
812RUN apt-get update && \
Original file line number Diff line number Diff line change 1111-----
1212
1313This image contains the STM32CubeCLT package (located at /opt/st) and is based on
14- Ubuntu 24.04 with CMake installed using KitWare's APT repository and clang. To use
15- the package, pull ` ghcr.io/revrobotics/stm32cubeclt:<version> ` .
14+ Ubuntu 24.04 with CMake installed using KitWare's APT repository and clang and pip3
15+ installed using the standard Ubuntu repository. To use the package, pull
16+ ` ghcr.io/revrobotics/stm32cubeclt:<version> ` .
1617
1718Building
1819--------
You can’t perform that action at this time.
0 commit comments