Sign inSign up

manuellr/pebble-dev

By manuellr

•Updated about 9 years ago

Pebble development environment tools

Image
1

659

manuellr/pebble-dev repository overview

⁠Pebble development environment

Updated to pebble-tool-4.5 alt text Updated to pebble-sdk-4.3

You must accept the Pebble Terms of Use⁠ and the SDK License Agreement⁠ to use the Pebble SDK.

⁠Usage as terminal

Just run:

PROJECT="Project_Name" && \
docker run -it \
    --net=host \
    --name=P_$PROJECT \
    -e DISPLAY=$DISPLAY \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -v ~/.Xauthority:/home/pebble/.Xauthority \
    -v /pathToYourProject/$PROJECT/:/pebble/ \
    manuellr/pebble-dev

After you close the shell and the container exit, you can use the restart the container with:

docker start -i -a P_$PROJECT

⁠Before you start

With the Pebble Tool 4.0 and above it is possible to switch the SDK version on the fly. Based on this change this image will download the latest SDK in the build process.

If you want to use other SDK simply run pebble sdk install <SDK_VERSION or latest>. You can switch between SDK with pebble sdk activate <SDK_VERSION or latest>.

⁠Terminal pebble commands

You can view the commands in the official page⁠.

⁠Usage not as terminal

Please, read the original code here⁠.

⁠Compile Dockerfile Manually

git clone https://github.com/ManuelLR/docker-pebble-dev.git && \
cd docker-pebble-dev && \
sudo docker build -t manuellr/pebble-dev .

Tag summary

Content type

Image

Digest

Size

594.8 MB

Last updated

about 9 years ago

docker pull manuellr/pebble-dev