https://github.com/pebble-dev/rebble-docker
Dockerfiles for building Pebble apps.
https://github.com/pebble-dev/rebble-docker
Last synced: 4 months ago
JSON representation
Dockerfiles for building Pebble apps.
- Host: GitHub
- URL: https://github.com/pebble-dev/rebble-docker
- Owner: pebble-dev
- Created: 2020-03-25T05:27:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-08T17:32:41.000Z (over 5 years ago)
- Last Synced: 2024-04-14T23:06:25.716Z (about 2 years ago)
- Language: Dockerfile
- Size: 6.84 KB
- Stars: 8
- Watchers: 3
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rebble Dockerfile
[Docker](http://docker.com) container to build Pebble apps and RebbleOS
## Usage
### Install
Pull `rebble/pebble-sdk` from the Docker repository:
docker pull rebble/pebble-sdk
### Run
Run the image
docker run --name=RebbleSDK -it rebble/pebble-sdk
### Emulator
In order to use the emulator, Docker must know the display to output to.
We can proxy the display by setting environment variables and bind mounts.
docker run --name=RebbleSDK -it \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
rebble/pebble-sdk
On linux hosts that only allow access to the X server from valid user accounts
(Arch linux, Manajaro, etc) you will need to add a link to xauthority.
docker run --name=RebbleSDK -it \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v ~/.Xauthority:/home/pebble/.Xauthority \
rebble/pebble-sdk