Files
RyanandClaude Sonnet 5.5 bf40b92c52
Test and deploy enrollment demo / test (push) Successful in 7s
Test and deploy enrollment demo / deploy (push) Successful in 1m12s
Add MQTT enrollment demo with Gitea deploy pipeline
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>
2026-10-24 21:25:14 +03:30

10 lines
312 B
Docker

FROM alpine:3.21 AS build
RUN apk add --no-cache build-base libsodium-dev mosquitto-dev
COPY main.c /src/main.c
RUN gcc -std=gnu11 -Wall -Wextra -O2 -o /board /src/main.c -lsodium -lmosquitto
FROM alpine:3.21
RUN apk add --no-cache libsodium mosquitto-libs
COPY --from=build /board /board
ENTRYPOINT ["/board"]