Go backend plus C (libsodium) and C++ (OpenSSL) simulated boards enroll through a Mosquitto 2.1 broker with Dynamic Security using X25519/HKDF/ Ed25519; a web view shows the run live. The Gitea workflow validates and builds the images, redeploys the stack on the server with the viewer on port 8099 and fails unless both boards pass all checks. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
9 lines
195 B
Docker
9 lines
195 B
Docker
FROM golang:1.24-alpine AS build
|
|
WORKDIR /src
|
|
COPY go.mod main.go index.html ./
|
|
RUN CGO_ENABLED=0 go build -o /viewer .
|
|
|
|
FROM alpine:3.21
|
|
COPY --from=build /viewer /viewer
|
|
ENTRYPOINT ["/viewer"]
|