meshname/Dockerfile
2020-12-08 06:05:51 -05:00

17 lines
299 B
Docker

FROM docker.io/golang:alpine as builder
COPY . /src
WORKDIR /src
RUN apk add git make && make
FROM docker.io/alpine
LABEL maintainer="George <zhoreeq@users.noreply.github.com>"
COPY --from=builder /src/meshnamed /usr/bin/meshnamed
USER nobody
EXPOSE 53535
CMD ["/usr/bin/meshnamed", "--help"]