This image contains the Pebble SDK/emulator and various scripts to run in headless environments.
887
This image contains the Pebble SDK/emulator and various scripts to run in headless environments.
Source is available at https://gitlab.128.io/adduc/docker-image-debian-pebble
See adduc/pebble-first-watchface for an example of how to use this docker image for CI.
docker run -v $(pwd):/pebble -it adduc/debian-pebble:latest pebble build
docker run -it -e PEBBLE_QEMU_PATH=qemu-pebble-headless -v $(pwd):/pebble adduc/debian-pebble:latest pebble screenshot --emulator basalt
Due to restrictions in recent versions of Xorg, we need to use xauth to trust remote X connections from Docker containers.
XAUTH=/tmp/.docker.xauth
xauth nlist $DISPLAY | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -
docker run -it \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $XAUTH:$XAUTH -e XAUTHORITY=$XAUTH \
-e DISPLAY=unix$(echo $DISPLAY) \
-v $(pwd):/pebble \
-w /pebble adduc/debian-pebble:latest \
bash -c "pebble install --emulator basalt"
Content type
Image
Digest
sha256:ee7a9d21b…
Size
502.5 MB
Last updated
almost 10 years ago
docker pull adduc/debian-pebble