Merge pull request #619 from zenixls2/fix/docker

This commit is contained in:
Yo-An Lin 2022-05-16 22:55:42 +08:00 committed by GitHub
commit 51e63fb563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 get github.com/mattn/go-sqlite3
RUN go install github.com/mattn/go-sqlite3
ADD . .
RUN go build -o $GOPATH_ORIG/bin/bbgo ./cmd/bbgo