listen/docker/build.linux.Dockerfile
2025-07-11 18:23:57 -06:00

16 lines
307 B
Docker

# This Dockerfile is meant for building listen for Linux ONLY
# listen is currently not intended to run in a Docker container
ARG IMAGE="1-alpine"
FROM golang:${IMAGE} AS build
ENV GOOS="linux"
WORKDIR /usr/src/listen
COPY . .
RUN apk upgrade --no-cache
RUN go build .
CMD ["tail", "-f", "/dev/null"]