broadcast/Dockerfile.dev

13 lines
224 B
Docker
Raw Normal View History

2023-03-07 00:56:35 +01:00
FROM golang:1.20
2023-03-13 23:40:55 +01:00
ENV CGO=1
2023-03-07 00:56:35 +01:00
WORKDIR /src
COPY . /src
2023-03-13 23:40:55 +01:00
RUN apt update \
&& apt install -y libsystemd-dev \
&& go build -o / ./cmd/... \
&& rm -rf /var/lib/apt/lists/* /var/cache/*
2023-03-07 00:56:35 +01:00
ENTRYPOINT /broadcast -debug /echo