mirror of https://github.com/nmasse-itix/liche.git
Browse Source
* setup_remote_docker * Go back to plain golang * persist to workspace * Faster iteration * Add bin/liche to alpine * Path * Use Dockerfile.testrenovate/configure
committed by
Yota Toyama
4 changed files with 38 additions and 1 deletions
@ -0,0 +1,10 @@ |
|||||
|
FROM golang:latest |
||||
|
RUN CGO_ENABLED=0 GOOS=linux go get -u github.com/raviqqe/liche |
||||
|
|
||||
|
FROM alpine:latest |
||||
|
RUN apk --no-cache add ca-certificates |
||||
|
WORKDIR /root/ |
||||
|
COPY --from=0 /go/bin/liche /go/bin/liche |
||||
|
ENV PATH "/go/bin:$PATH" |
||||
|
RUN liche --help |
||||
|
CMD liche |
||||
@ -0,0 +1,7 @@ |
|||||
|
FROM alpine:latest |
||||
|
RUN apk --no-cache add ca-certificates |
||||
|
WORKDIR /root/ |
||||
|
ADD bin/liche /go/bin/liche |
||||
|
ENV PATH "/go/bin:$PATH" |
||||
|
RUN liche --help |
||||
|
CMD liche |
||||
Loading…
Reference in new issue