gmacario / easy-build

Collection of Dockerfiles for building embedded software distributions
Mozilla Public License 2.0
154 stars 83 forks source link

Refactor build-yocto-genivi to implement a GoCD Agent #198

Closed gmacario closed 8 years ago

gmacario commented 8 years ago

Contributions by GoCD gurus welcome...

See related https://at.projects.genivi.org/jira/browse/TOOL-21

gunnarx commented 8 years ago

A useful idea - just make sure you check here:
Looks like it's done already, or can easy_build improve upon it?
https://github.com/gocd/gocd-docker

gmacario commented 8 years ago

Opened a RFC Pull Request at https://github.com/gmacario/easy-build/pull/203

gmacario commented 8 years ago

Merged PR #203

gmacario commented 8 years ago

Successfully tested go-agent inside Docker container

$ mkdir -p ~/test-goagent && cd ~/test-goagent
$ docker run -ti \
  --hostname=test-genivigo-agent1 \
  --user=go \
  --workdir=/var/lib/go-agent \
  gmacario/build-yocto-genivi

Logged as go@container

$ vi /etc/default/go-agent
$ service go-agent start

CC @gunnarx