broadcast/Dockerfile

13 lines
215 B
Docker
Raw Permalink 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
2023-03-14 18:35:30 +01:00
ENTRYPOINT ["/broadcast"]