Initial battery telemetry working
This commit is contained in:
@@ -2,12 +2,6 @@ FROM golang:1.22.5
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
#COPY go.mod go.sum ./
|
||||
#RUN go mod download
|
||||
|
||||
#COPY *.go ./
|
||||
#RUN CGO_ENABLED=0 GOOS=linux go build -o /spider-net
|
||||
|
||||
COPY spider-net /spider-net
|
||||
|
||||
CMD ["/spider-net"]
|
||||
@@ -1,3 +1,4 @@
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o spider-net
|
||||
set -e
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "-w" -o spider-net
|
||||
cd ..
|
||||
./docker.sh compose up spider-net -d --build
|
||||
|
||||
BIN
spider-net/spider-host
Executable file
BIN
spider-net/spider-host
Executable file
Binary file not shown.
Reference in New Issue
Block a user