16 lines
307 B
Docker
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"]
|