13 lines
274 B
Docker
13 lines
274 B
Docker
FROM golang:1.12
|
|
|
|
ENV GOOS=linux
|
|
ENV CGO_ENABLED=0
|
|
|
|
RUN mkdir -p $GOPATH/src/git.lattuga.net/boyska/circolog/
|
|
COPY . $GOPATH/src/git.lattuga.net/boyska/circolog/
|
|
RUN go get git.lattuga.net/boyska/circolog/...
|
|
|
|
VOLUME [$GOPATH"/bin"]
|
|
|
|
ENTRYPOINT ["/go/bin/circologd"]
|
|
CMD []
|