Initial euclide.org release
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user