Rewrite camera uptime monitor in Golang

This commit is contained in:
ashish committed 2024-08-19 16:36:01 -05:00
1 parent fd4c30f655
commit 90efd78669
13 files changed
+284 -1

No files matched your search

+12
View File
@@ -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 .