Commit cc89bc02 by Torkel Ödegaard

Working on trying to get CI builds on centos6 to solve GLIBC issue, #1568

parent 4cbcee7e
......@@ -64,9 +64,8 @@ func main() {
case "build":
pkg := "."
var tags []string
clean()
build(pkg, tags)
build(pkg, []string{})
case "test":
test("./pkg/...")
......
machine:
services:
- docker
test:
- go test -v ./pkg/...
FROM centos:6.6
RUN yum install -y initscripts curl tar gcc libc6-dev git
ENV GOLANG_VERSION 1.4.2
RUN curl -sSL https://golang.org/dl/go$GOLANG_VERSION.src.tar.gz \
| tar -v -C /usr/src -xz
RUN cd /usr/src/go/src && ./make.bash --no-clean 2>&1
ENV PATH /usr/src/go/bin:$PATH
RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
ENV GOPATH /go
ENV PATH /go/bin:$PATH
WORKDIR /go
#!/bin/bash
docker kill gfbuild
docker rm gfbuild
docker build --tag "grafana/buildcontainer" .
docker run -i -t \
-v /home/torkel/dev/go:/go \
--name gfbuild grafana/buildcontainer /bin/bash
FROM debian:jessie
FROM debian
ADD *.deb /tmp/
FROM centos:7
FROM centos:6
RUN yum install -y initscripts
ADD *.rpm /tmp/
ADD * /tmp/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment