Add axidraw

This commit is contained in:
2022-12-02 10:18:56 +02:00
parent 73f95db51a
commit 656b3e528c
3 changed files with 22 additions and 0 deletions

View File

@@ -75,6 +75,9 @@ GUI_ENVS=(
# Synchronize timezone with host
CUSTOM_VOLUMES+=("/etc/localtime:/etc/localtime:ro")
# Pass USB devices to container
USB_VOLUME+=("/dev/bus/usb:/dev/bus/usb")
## Additional environment variables
# Synchronize ROS_DOMAIN_ID with host
if [ -n "${ROS_DOMAIN_ID}" ]; then
@@ -111,6 +114,7 @@ DOCKER_RUN_CMD=(
"${GPU_OPT}"
"${GPU_ENVS[@]/#/"--env "}"
"${CUSTOM_VOLUMES[@]/#/"--volume "}"
"${USB_VOLUME[@]/#/"--volume "}"
"${CUSTOM_ENVS[@]/#/"--env "}"
"${TAG}"
"${CMD}"