{"action":"created","issue":{"url":"https://api.github.com/repos/schmich/piriscope/issues/10","repository_url":"https://api.github.com/repos/schmich/piriscope","labels_url":"https://api.github.com/repos/schmich/piriscope/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/schmich/piriscope/issues/10/comments","events_url":"https://api.github.com/repos/schmich/piriscope/issues/10/events","html_url":"https://github.com/schmich/piriscope/issues/10","id":225310185,"node_id":"MDU6SXNzdWUyMjUzMTAxODU=","number":10,"title":"Add RPi ARM Docker image","user":{"login":"schmich","id":1562839,"node_id":"MDQ6VXNlcjE1NjI4Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1562839?v=4","gravatar_id":"","url":"https://api.github.com/users/schmich","html_url":"https://github.com/schmich","followers_url":"https://api.github.com/users/schmich/followers","following_url":"https://api.github.com/users/schmich/following{/other_user}","gists_url":"https://api.github.com/users/schmich/gists{/gist_id}","starred_url":"https://api.github.com/users/schmich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmich/subscriptions","organizations_url":"https://api.github.com/users/schmich/orgs","repos_url":"https://api.github.com/users/schmich/repos","events_url":"https://api.github.com/users/schmich/events{/privacy}","received_events_url":"https://api.github.com/users/schmich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-30T07:19:25Z","updated_at":"2018-12-07T22:19:57Z","closed_at":null,"author_association":"OWNER","body":"- Piriscope can also run as a Docker image\r\n- Built on top of Alpine ARM or Raspbian? (can use `dpkg` if Raspbian)\r\n- e.g. `docker run --restart always -d schmich/piriscope`\r\n- Easy way to bundle dependencies? (`ffmpeg`, `x264`, ...)"},"comment":{"url":"https://api.github.com/repos/schmich/piriscope/issues/comments/445383525","html_url":"https://github.com/schmich/piriscope/issues/10#issuecomment-445383525","issue_url":"https://api.github.com/repos/schmich/piriscope/issues/10","id":445383525,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTM4MzUyNQ==","user":{"login":"schmich","id":1562839,"node_id":"MDQ6VXNlcjE1NjI4Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1562839?v=4","gravatar_id":"","url":"https://api.github.com/users/schmich","html_url":"https://github.com/schmich","followers_url":"https://api.github.com/users/schmich/followers","following_url":"https://api.github.com/users/schmich/following{/other_user}","gists_url":"https://api.github.com/users/schmich/gists{/gist_id}","starred_url":"https://api.github.com/users/schmich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmich/subscriptions","organizations_url":"https://api.github.com/users/schmich/orgs","repos_url":"https://api.github.com/users/schmich/repos","events_url":"https://api.github.com/users/schmich/events{/privacy}","received_events_url":"https://api.github.com/users/schmich/received_events","type":"User","site_admin":false},"created_at":"2018-12-07T22:19:57Z","updated_at":"2018-12-07T22:19:57Z","author_association":"OWNER","body":"This project is a bit dilapidated, so there are some rough edges.\r\n\r\nThere are layers needed to build the final piriscope docker image. If you have Ruby installed, most of these steps are easy. If you don't have Ruby, you can open the `.rb` files and follow along:\r\n\r\n### 1. Build the piriscope executable\r\n\r\n`ruby -I. build-go-docker.rb`\r\n\r\nThis uses `Dockerfile-go` to build a docker image that compiles the piriscope executable from the source in `piriscope.go`. The output is the `piriscope` executable binary and the `piriscope-go` image that can be deleted.\r\n\r\n### 2. Build the piriscope Debian package\r\n\r\n`ruby -I. build-deb-docker.rb`\r\n\r\nThis uses `Dockerfile-deb` to build an image that creates the Debian package using the output from step 1. The output is the `piriscope_0.0.1-1_armhf.deb` Debian package and the `piriscope-deb` image that can be deleted.\r\n\r\n### 3. Finally, build the piriscope docker image\r\n\r\n`docker build -t \"piriscope:v1\" .`\r\n\r\nThis uses `Dockerfile` to build the final Raspbian-based piriscope docker image using the output from step 2. The output is the `piriscope:v1` docker image.\r\n\r\nLet me know if you hit any other issues."}}
{"actor":{"display_login":"schmich"}}