Build std for race in Docker image

This commit is contained in:
Jakob Borg 2014-11-30 00:30:23 +01:00
parent 5dd5602229
commit 9d36d88a65
2 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,7 @@
set -euo pipefail
IFS=$'\n\t'
DOCKERIMGV=1.3.3-3
DOCKERIMGV=1.3.3-4
case "${1:-default}" in
default)

View File

@ -51,6 +51,10 @@ RUN go get github.com/tools/godep \
&& go get github.com/axw/gocov/gocov \
&& go get github.com/AlekSi/gocov-xml
# Build standard library for race
RUN go install -race std
# Random build users needs to be able to create stuff in /go
RUN chmod -R 777 /go/bin /go/pkg /go/src