mirror of https://github.com/nmasse-itix/liche.git
1 changed files with 6 additions and 4 deletions
@ -1,8 +1,10 @@ |
|||
FROM golang |
|||
COPY . /go/src/github.com/raviqqe/liche |
|||
RUN CGO_ENABLED=0 GOOS=linux go get /go/src/github.com/raviqqe/liche |
|||
FROM golang:1.12 |
|||
COPY . /src |
|||
ENV CGO_ENABLED=0 GO111MODULE=on GOOS=linux |
|||
WORKDIR /src |
|||
RUN go build -o liche |
|||
|
|||
FROM alpine |
|||
RUN apk --no-cache add ca-certificates |
|||
COPY --from=0 /go/bin/liche /liche |
|||
COPY --from=0 /src/liche /liche |
|||
ENTRYPOINT ["/liche"] |
|||
|
|||
Loading…
Reference in new issue