748f7e4fc3
* add dfu util to container, enable usb in container * add DFU_SERIAL env
17 lines
381 B
YAML
17 lines
381 B
YAML
version: '3'
|
|
services:
|
|
dev:
|
|
build: docker
|
|
network_mode: "host"
|
|
privileged: true
|
|
tty: true
|
|
stdin_open: true
|
|
volumes:
|
|
- .:/project
|
|
- /dev/bus/usb:/dev/bus/usb
|
|
working_dir: "/project"
|
|
environment:
|
|
DISPLAY: $DISPLAY
|
|
TERM: xterm-256color
|
|
PATH: /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|