File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 33/linode
44/frontend
55/desktop
6+ /data
7+ /output
Original file line number Diff line number Diff line change 11# First stage container
22FROM golang:1.18.10-alpine3.17 AS builder
3- RUN apk add --no-cache git ca-certificates gcc libc-dev pkgconfig
3+ RUN apk add --no-cache git ca-certificates gcc musl-dev libc-dev pkgconfig
44# gcc is for github.com/mattn/go-sqlite3
55# ADD . $GOPATH/src/github.com/c9s/bbgo
66
7+
78WORKDIR $GOPATH/src/github.com/c9s/bbgo
89ARG GO_MOD_CACHE
910ENV WORKDIR=$GOPATH/src/github.com/c9s/bbgo
1011ENV GOPATH_ORIG=$GOPATH
1112ENV GOPATH=${GO_MOD_CACHE:+$WORKDIR/$GO_MOD_CACHE}
1213ENV GOPATH=${GOPATH:-$GOPATH_ORIG}
1314ENV CGO_ENABLED=1
14- RUN cd $WORKDIR && go get github.com/mattn/go-sqlite3
15+ RUN cd $WORKDIR
1516ADD . .
17+ RUN go get github.com/mattn/go-sqlite3
1618RUN go build -o $GOPATH_ORIG/bin/bbgo ./cmd/bbgo
1719
1820# Second stage container
You can’t perform that action at this time.
0 commit comments