ooproxy 1.0.1

A reverse OpenID Connect and OAuth 2 proxy, implementing the client-credentials flow.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM alpine:latest AS build
ARG features
RUN apk add openssl-dev rust cargo
COPY . .
RUN cargo test --all-features
RUN cargo build --release --features="$features"
RUN mv /target/release/ooproxy .
RUN strip --strip-all ooproxy

FROM alpine:latest
ARG features
RUN if [ "$features" = "tls" ] ; then apk add openssl libgcc ; else apk add libgcc ; fi
COPY --from=build /ooproxy /
ENTRYPOINT ["/ooproxy"]