update arduino and audacity

This commit is contained in:
Frieder Schlesier 2020-01-02 21:16:52 +01:00
parent 4f30b3771d
commit effd46ba4d
1 changed files with 22 additions and 24 deletions

View File

@ -100,34 +100,32 @@ ant() {
arduino() { arduino() {
docker run \ docker run \
-it \ -it \
--rm \ --network=host \
--network=host \ --privileged \
--privileged \ -e DISPLAY=$DISPLAY \
-e DISPLAY=$DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix \
-v /tmp/.X11-unix:/tmp/.X11-unix \ -v /dev/ttyUSB0:/dev/ttyUSB0 \
-v /dev/ttyUSB0:/dev/ttyUSB0 \ -v $HOME/topics:/topics \
-v $HOME/topics:/topics \ -v $HOME/projects:/home/developer/projects \
-v $HOME/projects:/projects \ fschl/darduino:1.8.10 \
tombenke/darduino:latest \ arduino
arduino
} }
audacity(){ audacity(){
del_stopped audacity del_stopped audacity
# -e QT_DEVICE_PIXEL_RATIO \
docker run -d \ docker run -d \
-v /etc/localtime:/etc/localtime:ro \ -v /etc/localtime:/etc/localtime:ro \
-v /tmp/.X11-unix:/tmp/.X11-unix \ -v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=unix${DISPLAY}" \ -e "DISPLAY=unix${DISPLAY}" \
-v $HOME/Downloads:/root/Downloads \ -v $HOME/Downloads:/root/Downloads \
-v $HOME/Documents:/root/Documents \ -v $HOME/Documents:/root/Documents \
-v $HOME/Music:/root/Music \ -v $HOME/Music:/root/Music \
--device /dev/snd \ --device /dev/snd \
--group-add audio \ --group-add audio \
--name audacity \ --name audacity \
jess/audacity jess/audacity
} }
bro() { bro() {