mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
fix: change from go get to go install in Dockerfile
This commit is contained in:
parent
dd06180892
commit
fb4f0ab706
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user