2020-08-03 20:01:38 +00:00
|
|
|
FROM golang:1.14.6-alpine3.12
|
2020-10-21 21:30:08 +00:00
|
|
|
RUN mkdir /dione
|
|
|
|
COPY . /dione
|
|
|
|
WORKDIR /dione
|
2020-08-03 20:01:38 +00:00
|
|
|
|
|
|
|
RUN apk add git
|
|
|
|
RUN apk add --update make
|
|
|
|
RUN go mod download
|
|
|
|
|
|
|
|
RUN make build
|
|
|
|
|
2020-10-21 21:30:08 +00:00
|
|
|
CMD ["./dione"]
|