[NOD-880] Remove CGO_ENABLED=0 from Dockerfile. (#671)

This commit is contained in:
stasatdaglabs 2020-03-26 14:02:57 +02:00 committed by GitHub
parent d83862f36c
commit e000e10738
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ RUN golint -set_exit_status ./...
# RUN aligncheck ./...
# RUN structcheck -e ./...
# RUN varcheck -e ./...
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o kaspad .
RUN GOOS=linux go build -a -installsuffix cgo -o kaspad .
# Remove the line below and uncomment the line after it for testing with coverage
RUN go test ./...