-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the docker-pebble-dev wiki!
A combination of pebble-dev, Docker, and Windows Docker notes.
Based on https://github.com/bboehmke/docker-pebble-dev - https://hub.docker.com/r/bboehmke/pebble-dev
docker build -t clach04/docker-pebble-dev .
NOTE if apt-get complains about items being is not valid yet
until the future, some clock drift has occurred between Docker and the host. Restart Docker (or entire machine), under Windows use the GUI for Linux issue:
docker-machine restart default
If get errors ValueError: ZIP does not support timestamps before 1980
or error: ushort format requires 0 <= number <= USHRT_MAX
this is likely a filesystem hosting issue. See https://github.com/bboehmke/docker-pebble-dev/issues/6
Permission denied probably means something wrong with -v
flag, see https://github.com/Spitemare/rebble-docker/issues/5
https://sourceforge.net/projects/vcxsrv/ works well under Windows.
If you have your machine firewall disabling auth on X server in Windows makes life very easy.
DISPLAY can be set to host.docker.internal
(hostnames tend not to work, IP addresses do and so does Docker standard names). E.g.:
docker run --name=pebble_screen -e DISPLAY=host.docker.internal:0.0 -it -v %CD%:/pebble clach04/docker-pebble-dev /bin/bash
Then connect via:
docker start -i -a pebble_screen
Use screen
to multiplex so can run emulator and issue emulator commands like config, transcription, etc.
No config in this image so be prepared to set .vimrc
as well as .screenrc
as well as other niceties like https://github.com/nojhan/liquidprompt
pebble install --emulator aplite --logs
pebble install --emulator basalt --logs
pebble emu-app-config
pebble transcribe "Hello, Pebble!"
https://github.com/aveao/PebbleArchive/ has a bunch of stuff archived. The SDK is available here (https://github.com/Leicas/Pebble-dev/blob/master/Dockerfile uses that as a download source). https://pebble.rip/ has some of the same content.
http://gkudelis.net/developing-for-pebble-using-docker/ - nice quick overview of Docker with Pebble dev SDK.
Check out rebble.sh
in https://github.com/Spitemare/rebble-docker - makes using container easier. Windows notes above are more like a short lived virtual machine.