armbian-router/Dockerfile
Tyler 7695d7e916
All checks were successful
continuous-integration/drone/push Build is passing
Fix Dockerfile
2022-03-30 20:34:05 -04:00

13 lines
211 B
Docker

FROM golang:alpine AS builder
ADD . /src
WORKDIR /src
RUN apk add --no-cache git && \
export CGO_ENABLED=0 && \
go build -o /src/dlrouter
FROM alpine
COPY --from=builder /src/dlrouter /usr/bin/dlrouter