Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jig/docker-golang-run-raspi
- Owner: jig
- License: mit
- Created: 2014-07-20T20:06:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-20T20:43:59.000Z (over 10 years ago)
- Last Synced: 2024-04-14T15:51:26.231Z (7 months ago)
- Language: Shell
- Size: 199 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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 .