mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-22 22:58:25 +00:00
Build std for race in Docker image
This commit is contained in:
parent
5dd5602229
commit
9d36d88a65
2
build.sh
2
build.sh
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user