Public Repository

Last pushed: 2 years ago
Short Description
Go (golang) for Raspberry Pi 3
Full Description

Go (golang) for Raspberry Pi 3

Continue reading to see the steps taken to create this image

Test environment

  • Raspberry Pi 3
  • Host OS: Raspbian Jessie Lite image (downloaded from the official site)
  • Docker image: docker pull resin/rpi-raspbian:jessie-20160831

tag: go1.4.3


apt-get update
apt-get install net-tools
apt-get install git

# Go installation
# an already compiled version is used, see
rm -rf /usr/local/go
git clone
cd rpi_golang/
tar -xzf go1.4.3.linux-armv7.tar.gz -C /usr/local
export PATH=/usr/local/go/bin:$PATH
go version
echo "export PATH=/usr/local/go/bin:$PATH" >> /root/.bashrc

tag: go1.5.2


rm -fr $HOME/go1.4
mkdir -p $HOME/go1.4

# the following tar.gz file comes from
tar -xzf go1.4.3.linux-armv7.tar.gz -C $HOME/go1.4 --strip-components=1
rm -fr /usr/local/go

# download go version 1.5.2
apt-get install wget
tar -xz -C /usr/local -f go1.5.2.src.tar.gz
cd /usr/local/go/src

# make
apt-get install build-essential
time GOROOT_BOOTSTRAP=/root/go1.4 ./make.bash
go version
Docker Pull Command