sqlite3.Error when compling grafana

pkg/services/sqlstore/shared.go:45:26: undefined: sqlite3.Error
pkg/services/sqlstore/shared.go:46:23: undefined: sqlite3.ErrLocked

I compiled grafana 5.2.5 in Docker container and my go version is 1.10.4
GOARCH=“amd64”
GOBIN=""
GOCACHE="/home/jenkins_slave/.cache/go-build"
GOEXE=""
GOHOSTARCH=“amd64”
GOHOSTOS=“linux”
GOOS=“linux”
GOPATH="/home/jenkins_slave/workspace/gopath"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO=“gccgo”
CC=“gcc”
CXX=“g++”
CGO_ENABLED=“1”
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG=“pkg-config”
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-
build609290083=/tmp/go-build -gno-record-gcc-switches"