Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Support rebase merge #40

Open
kilianc opened this issue Nov 23, 2019 · 2 comments
Open

Support rebase merge #40

kilianc opened this issue Nov 23, 2019 · 2 comments

Comments

@kilianc
Copy link

kilianc commented Nov 23, 2019

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.

@kilianc
Copy link
Author

kilianc commented Nov 23, 2019

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"]

@nicolai86
Copy link
Owner

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.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

2 participants