This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#build us a binary for https://github.com/bitly/oauth2_proxy/pull/277 | |
FROM golang | |
WORKDIR /go/src/github.com/bitly | |
RUN git clone https://github.com/kindlyops/oauth2_proxy.git | |
WORKDIR /go/src/github.com/bitly/oauth2_proxy | |
RUN git checkout github-teams-tweaks | |
RUN go get | |
# include patch from https://github.com/bitly/oauth2_proxy/pull/295 | |
RUN curl https://github.com/donaldguy/oauth2_proxy/commit/8965e6b58a3afd8ad9f0f326f91b25253c88d523.patch | git apply --apply - | |
RUN go build |