1FROM golang:1.12-stretch AS builder
4RUN wget -O $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64
5RUN chmod +x $GOPATH/bin/dep
8WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy
12RUN dep ensure --vendor-only
15RUN ./configure && make build
17# Copy binary to alpine
19COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
20COPY --from=builder /go/src/github.com/pusher/oauth2_proxy/oauth2_proxy /bin/oauth2_proxy
22RUN addgroup -S -g 2000 oauth2proxy && adduser -S -u 2000 oauth2proxy -G oauth2proxy
25ENTRYPOINT ["/bin/oauth2_proxy"]
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list