fix: sqlite3 compilation

This commit is contained in:
zenix 2022-05-17 12:30:36 +09:00
parent b4a79479fd
commit e18bf08510

View File

@ -11,7 +11,7 @@ ENV GOPATH_ORIG=$GOPATH
ENV GOPATH=${GO_MOD_CACHE:+$WORKDIR/$GO_MOD_CACHE}
ENV GOPATH=${GOPATH:-$GOPATH_ORIG}
ENV CGO_ENABLED=1
RUN go install github.com/mattn/go-sqlite3
RUN cd $WORKDIR && go get github.com/mattn/go-sqlite3
ADD . .
RUN go build -o $GOPATH_ORIG/bin/bbgo ./cmd/bbgo