Skip to content

Commit

Permalink
disable cgo on centos 5
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed Feb 4, 2016
1 parent 80c1530 commit 39cec36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions centos_5.bootstrap
Expand Up @@ -11,6 +11,8 @@ ENV GOLANG_VERSION=[{GOLANG_VERSION}]

ENV GOROOT=/usr/local/go

ENV CGO_ENABLED=0

RUN cd /usr/local && \
curl -L -O https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz && \
tar zxf go${GOLANG_VERSION}.linux-amd64.tar.gz && \
Expand Down
2 changes: 2 additions & 0 deletions centos_5_test.dockerfile
Expand Up @@ -8,6 +8,8 @@ ENV GOLANG_VERSION=[{GOLANG_VERSION}]

ENV GOROOT=/usr/local/go

ENV CGO_ENABLED=0

RUN yum install -y curl && \
cd /usr/local && \
curl -L -O https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz && \
Expand Down

0 comments on commit 39cec36

Please sign in to comment.