armbian-router/Dockerfile
Tyler 7830955b4f
Some checks failed
continuous-integration/drone/push Build is failing
Disable cgo, add docker support
2022-03-30 20:13:51 -04:00

11 lines
166 B
Docker

FROM golang:alpine AS builder
ADD . /src
WORKDIR /src
RUN CGO_ENABLED=0 go build -o /src/dlrouter
FROM alpine
COPY --from=builder /src/dlrouter /usr/bin/dlrouter