build: crossplatform build with packages.

Big thanks to @fg2it who created a POC as
well as the build container that this work
is based on.
This commit is contained in:
Leonard Gram
2018-05-08 09:42:20 +02:00
parent 5de2c99c32
commit 9123e0fca8
5 changed files with 99 additions and 32 deletions

View File

@@ -70,10 +70,13 @@ jobs:
build:
docker:
- image: grafana/build-container:v0.1
- image: grafana/build-container:crosscompile
working_directory: /go/src/github.com/grafana/grafana
steps:
- checkout
- run:
name: prepare build tools
command: '/tmp/bootstrap.sh'
- run:
name: build and package grafana
command: './scripts/build/build.sh'