broadcast/Dockerfile.dev

13 lines
224 B
Docker

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