This is a jenkins slave image for build golang project, the base image is openjdk:8-jdk
.
It contains:
- debian:8.5(jessie)
- oracle-jdk8
- golang:1.7
- jenkins slave(REF: jenkinsci/slave)
Usage: ./build.sh
When use "Execute shell" in build step, please add the following lines
export GOROOT=/usr/local/go
export PATH=$GOROOT/bin:$PATH