mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +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
|
set -euo pipefail
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
|
|
||||||
DOCKERIMGV=1.3.3-3
|
DOCKERIMGV=1.3.3-4
|
||||||
|
|
||||||
case "${1:-default}" in
|
case "${1:-default}" in
|
||||||
default)
|
default)
|
||||||
|
@ -51,6 +51,10 @@ RUN go get github.com/tools/godep \
|
|||||||
&& go get github.com/axw/gocov/gocov \
|
&& go get github.com/axw/gocov/gocov \
|
||||||
&& go get github.com/AlekSi/gocov-xml
|
&& 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
|
# Random build users needs to be able to create stuff in /go
|
||||||
|
|
||||||
RUN chmod -R 777 /go/bin /go/pkg /go/src
|
RUN chmod -R 777 /go/bin /go/pkg /go/src
|
||||||
|
Loading…
Reference in New Issue
Block a user