Initial battery telemetry working

This commit is contained in:
2024-07-13 00:51:42 +02:00
parent ca68c88fa9
commit e026bc93f7
17 changed files with 376 additions and 11 deletions

View File

@@ -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"]

View File

@@ -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

Binary file not shown.