From 145c0e5375ddbda8f0b6af6ddc814a71dcbbd566 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Fri, 11 Jul 2025 19:00:08 -0600 Subject: [PATCH] it would help to add the new dockerfile --- docker/build.Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docker/build.Dockerfile diff --git a/docker/build.Dockerfile b/docker/build.Dockerfile new file mode 100644 index 0000000..7fc8372 --- /dev/null +++ b/docker/build.Dockerfile @@ -0,0 +1,16 @@ +# This Dockerfile is meant for building listen ONLY +# listen is currently not intended to run in a Docker container + +ARG IMAGE="1-alpine" + +FROM golang:${IMAGE} AS build + +WORKDIR /usr/src/listen +COPY . . + +RUN apk upgrade --no-cache +RUN go install github.com/go-task/task/v3/cmd/task@latest +ENV GOOS="linux" +RUN task build + +CMD ["tail", "-f", "/dev/null"]