Skip to content

Instantly share code, notes, and snippets.

@pwaller
Created July 11, 2016 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pwaller/7b8c73a84b4c5bef5ce107fe009eb8d8 to your computer and use it in GitHub Desktop.
Save pwaller/7b8c73a84b4c5bef5ce107fe009eb8d8 to your computer and use it in GitHub Desktop.
go build -race failing on go1.7rc1-alpine
# Build with:
# docker build -t race-build-failure https://gist.github.com/7b8c73a84b4c5bef5ce107fe009eb8d8.git
FROM golang:1.7rc1-alpine
RUN apk add --no-cache musl-dev gcc
WORKDIR /go/src/testrace
RUN echo $'package main\nfunc main() {}' > main.go
RUN go install -v -race .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment