FROM golang:1.20 ENV CGO=1 WORKDIR /src COPY . /src RUN apt update \ && apt install -y libsystemd-dev \ && go build -o / ./cmd/... \ && rm -rf /var/lib/apt/lists/* /var/cache/* ENTRYPOINT /broadcast -debug /echo