Mongo backed DNS server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
goredns/Dockerfile

10 lines
259 B

FROM golang:1.16-alpine
RUN apk add libcap git
WORKDIR $GOPATH/src/git.k-space.ee/pinecrypt/goredns
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY main.go .
RUN go build -o goredns main.go
RUN setcap 'cap_net_bind_service=+ep' goredns
CMD ["./goredns"]