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