Rewrite camera uptime monitor in Golang
This commit is contained in:
1 parent
fd4c30f655
commit
90efd78669
13 files changed
+284
-1
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#FROM golang:1.23
|
||||
FROM golang:1.23
|
||||
WORKDIR /code
|
||||
|
||||
ENTRYPOINT ["./uptime"]
|
||||
ENV GOEXPERIMENT=loopvar
|
||||
|
||||
RUN apt update --fix-missing
|
||||
RUN apt install -y iputils-ping ffmpeg
|
||||
|
||||
COPY uptime .
|
||||
RUN go build .
|
||||
Reference in new issue
Block a user