Implemented API for guest communication

This allows to send the shutdown command from the host to the guest
This commit is contained in:
Kroese
2023-04-11 20:29:09 +02:00
parent 5761ad9b44
commit 1a10105f93
3 changed files with 114 additions and 15 deletions

View File

@@ -2,7 +2,9 @@ FROM golang:1.20 AS builder
COPY serial/ /src/serial/
WORKDIR /src/serial
RUN go get -d -v golang.org/x/net/html
RUN go get -d -v golang.org/x/net/html
RUN go get -d -v github.com/gorilla/mux
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /src/serial/main .
FROM debian:bookworm-20230320-slim