Setting up Pebble SDK with DOCKER

589 Views Asked by At

I used to develop Pebble Watch apllication with pebble Cloud. Now, as Pebble Cloud is down, I wouild like to use Pebble SDK on Ubuntu. I've tried to install the SDK on Ubuntu 18 but it's failed.

So I've tried to use a Docker Container but the flowing error appears :

standard_init_linux.go:187: exec user process caused "exec format error"

I have tried the following containers :

dmorgan81/rebble and bboehmke/pebble-dev and andredumas/pebble-dev

If I understand the way it work's, for creating the necessary files for the development environnement you only have to launch the container with the "pebble new-project" command :

docker run --rm -it -v $PWD:/pebble andredumas/pebble-dev pebble new-project watchtest

If somebody can help me with the use of a Docker Container with Pebble SDK it will be great !

1

There are 1 best solutions below

4
Pitto On

I've struggled quite a bit with this and I've put the result of my work in two repos on github.

Not 100% Docker related (I've used Vagrant) but I think you can use the info anyway.

This one is simple Pebble SDK, working from CLI:
https://github.com/ltpitt/vagrant-pebble-sdk

This one spawns a virtual machine with a working version of CloudPebble:
https://github.com/ltpitt/vagrant-cloudpebble-composed

Good luck and let me know if you want to help in improving what I did.