Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
services:
ionizationchamber:
container_name: ionizationchamber
ulimits:
core: -1 # unlimited core dump size
build:
context: ./DevOps/Docker
image: chamber:latest
security_opt:
- seccomp:unconfined
privileged: true # required for USB access
working_dir: /workspace/build
stdin_open: true
tty: true
volumes:
- ./Simulation:/workspace/Simulation
- ./Software:/workspace/Software
- ./CMakeLists.txt:/workspace/CMakeLists.txt
- ./DevOps/BuildArtifacts/:/workspace/DevOps/BuildArtifacts
- ./DevOps/Cmake/:/workspace/DevOps/Cmake/
- ./DevOps/Scripts/:/workspace/DevOps/Scripts/
# Add USB device access
- /dev/bus/usb:/dev/bus/usb # Mount entire USB bus
environment:
# Set ST-LINK specific environment variables
- STLINK_DEVICE=0483:3748
# Add healthcheck to verify USB connection
healthcheck:
test: lsusb | grep 0483:3748
interval: 5s
timeout: 3s
retries: 3582bf720aThis file is pinned to the selected release. Download the original to open it in your design tool.