Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jig/docker-golang-run-raspi

Raspberry Pi version of docker-golang-run-raspi
https://github.com/jig/docker-golang-run-raspi

Last synced: 6 days ago
JSON representation

Raspberry Pi version of docker-golang-run-raspi

Awesome Lists containing this project

README

        

docker-golang-run-raspi
===================

Go language container (golang) that can run "go service scripts" in a Raspberry Pi computer.
Note: it is based on `resin/rpi-raspbian:jessie` (the `/etc/service` file is missing and golang network tests would fail if a service file woudln't been added. This Dockerfile adds `/etc/services` from Raspbian).

Tested on Arch Linux ARM version June 2014, with Docker 1.0.0, on a Raspberry Pi model B.

Software versions:

- Go 1.3

Run
---

Change `//go` with the absolute path of your src parent directory.

$ docker run -v="//go:/go:rw" jordi/golang-raspi

If you edit and save your source files, they will remain on your host after the container has been stopped or killed.

Pull
----

$ docker pull jordi/golang-raspi

Build
-----

`git clone` this project, cd into it, and:

$ docker build -t golang-raspi .