Sign inSign up

jordi/golang-raspi

By jordi

•Updated almost 11 years ago

Go language tools for Rapsberry Pi

Image
2

3.7K

jordi/golang-raspi repository overview

⁠jordi/golang-raspi | 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.

This image generate containers equivalent to those generated by jordi/golang-run for amd64 architectures.

Software versions:

  • Go 1.3

⁠Run

Change /<user-home-dir>/go with the absolute path of your src parent directory.

$ docker run -v="/<user-home-dir>/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 .

Tag summary

Content type

Image

Digest

sha256:bcadb953d…

Size

174.5 MB

Last updated

almost 11 years ago

docker pull jordi/golang-raspi