image="localhost/abos-dev-guide:v1.0.0"
devices="/dev/tty1 /dev/input /dev/dri /dev/galcore /dev/mxc_hantro /dev/mxc_hantro_vc8000e /dev/ion"
volumes="/run/udev:/run/udev:ro /opt/firmware:/opt/firmware"
readonly=false
append_args --env=XDG_RUNTIME_DIR=/tmp
append_args --env=LD_LIBRARY_PATH=/opt/firmware/usr/lib/aarch64-linux-gnu
append_args --cap-add=SYS_TTY_CONFIG
append_args -w /opt/read_meter
set_command /bin/bash -c "
weston --tty=1 & \
python3 read_meter \
        --model model.tflite \
        --param_file parameter_sample.json \
        --video gauge_sample.mp4"