pdns-auth-proxy/Dockerfile

15 lines
295 B
Docker

FROM golang:1.12
ENV GOPATH $HOME/workspace/gopath
ENV GOROOT /usr/local/go
ENV PATH $GOPATH/bin:$GOROOT/bin:$PATH
RUN mkdir -p $GOPATH
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
RUN go install golang.org/x/lint/golint@latest
COPY . /src
WORKDIR /src
RUN make vendor