GithubHelp home page GithubHelp logo

rpi-golang's Introduction

rpi-golang

Docker image containing GOLANG that is compatible to the Raspberry Pi.

Build the Docker Image

make build

Run the Docker Image and get version of installed GOLANG

make version

Push Docker Image to Docker Hub

  • First, use a docker login with username, password and email address
  • Second, push Docker Image to the official Docker Hub
make push

rpi-golang's People

Contributors

dieterreuter avatar mathiasrenner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

rpi-golang's Issues

Build issue updating to Golang 1.7

Attempting to build the base image using go 1.7 from the makefile fails with error. This is from branch #1 attempting to bump the go version

Andrew Mon Mar 20 19:47:13 rpi-golang: make build
docker build -t hypriot/rpi-golang:1.7.5 .
Sending build context to Docker daemon 1.079 MB
Step 1 : FROM resin/rpi-raspbian:wheezy

Executing 1 build trigger...

Step 1 : RUN echo $'WARNING: Systemd is not available on this base image! \nSystemd was included in Debian wheezy as a technology preview. Therefore, we do not install systemd on wheezy images and INITSYSTEM will not work.'
---> Using cache
---> 6ec77fbbb6a1
Step 2 : FROM hypriot/rpi-golang:1.4.2
---> 07ee5159ddd3
Step 3 : MAINTAINER Dieter Reuter [email protected]
---> Using cache
---> 34feb4f212f9
Step 4 : RUN apt-get update && apt-get install -y ca-certificates gcc libc6-dev make git --no-install-recommends && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 9ccda55046df
Step 5 : ENV GOROOT_BOOTSTRAP /goroot
---> Using cache
---> 82d667351edf
Step 6 : ENV GOLANG_VERSION 1.7.5
---> Using cache
---> 492aaba42a30
Step 7 : ADD ./etc/services /etc/services
---> Using cache
---> eb8f05ef13f8
Step 8 : RUN mkdir -p /goroot1.7.5 && git clone https://go.googlesource.com/go /goroot1.7.5 && cd /goroot1.7.5 && git checkout go$GOLANG_VERSION && cd /goroot1.7.5/src && GOARM=6 ./all.bash
---> Running in 43ec25409619
Cloning into '/goroot1.7.5'...
Checking out files: 100% (6441/6441), done.
Note: checking out 'go1.7.5'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 753452f... [release-branch.go1.7] go1.7.5

Building Go bootstrap tool.

cmd/dist
fatal error: rt_sigaction failure

runtime stack:
runtime.throw(0x531425)
/goroot/src/runtime/panic.go:491 +0xa4
runtime.setsig(0x40, 0xa65e8, 0x54da01)
/goroot/src/runtime/os_linux.c:302 +0xa8
runtime.initsig()
/goroot/src/runtime/signal_unix.c:39 +0x88
mstart()
/goroot/src/runtime/proc.c:856 +0x6c
runtime.mstart()
/goroot/src/runtime/proc.c:836 +0x4c

goroutine 1 [runnable]:
runtime.main()
/goroot/src/runtime/proc.go:16
runtime.goexit()
/goroot/src/runtime/asm_arm.s:1322 +0x4
The command '/bin/sh -c mkdir -p /goroot1.7.5 && git clone https://go.googlesource.com/go /goroot1.7.5 && cd /goroot1.7.5 && git checkout go$GOLANG_VERSION && cd /goroot1.7.5/src && GOARM=6 ./all.bash' returned a non-zero code: 2
make: *** [build] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.