github-rebase-bot
github-rebase-bot copied to clipboard
Support rebase merge
I tried to build the repo locally but I am getting a lot of errors, I am happy to help if I get some help.
Not sure when my PR will arrive but just for now, I am going to leave this here!
FROM golang:1.8.3-alpine3.6 as builder
RUN apk --no-cache --update add git
WORKDIR /go/src/github.com/nicolai86/github-rebase-bot
COPY [".", "./"]
RUN go get -u github.com/golang/dep/cmd/dep
RUN go get
RUN go build .
FROM golang:1.8.3-alpine3.6 as server
RUN apk --no-cache --update add git
RUN go get github.com/nicolai86/github-rebase-bot
FROM alpine:3.6
RUN apk --no-cache --update add ca-certificates git curl && update-ca-certificates
ENV GITHUB_TOKEN="" \
GITHUB_OWNER="" \
GITHUB_REPOS="" \
GITHUB_MERGE_LABEL="LGTM" \
PUBLIC_DNS=""
COPY --from=builder /go/bin/github-rebase-bot /
ADD startup.sh /
ENTRYPOINT ["/startup.sh"]
thanks for the example - I think moving forward the rebase bot should be updated from Godep to use gomodules - it would make this much more maintainable moving forward.