Sign inSign up

adduc/debian-pebble

By adduc

•Updated over 9 years ago

This image contains the Pebble SDK/emulator and various scripts to run in headless environments.

Image
0

935

adduc/debian-pebble repository overview

⁠Docker Image for Pebble Development

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.

⁠Building an App/Watchface:

docker run -v $(pwd):/pebble -it adduc/debian-pebble:latest pebble build

⁠Taking a screenshot (in a headless environment):

docker run -it -e PEBBLE_QEMU_PATH=qemu-pebble-headless -v $(pwd):/pebble adduc/debian-pebble:latest pebble screenshot --emulator basalt

⁠Running an emulator:

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"

Tag summary

Content type

Image

Digest

sha256:ee7a9d21b…

Size

502.5 MB

Last updated

almost 10 years ago

docker pull adduc/debian-pebble