proxymore 0.6.0

A powerful and flexible proxy CLI for capturing, inspecting and modifying inflight HTTP(S) and WS(S) traffic. Fork of sigoden/proxymore.
Documentation
FROM alpine as builder
ARG REPO VER TARGETPLATFORM
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \ 
        TARGET="x86_64-unknown-linux-musl"; \
    elif [  "$TARGETPLATFORM" = "linux/arm64" ]; then \
        TARGET="aarch64-unknown-linux-musl"; \
    elif [  "$TARGETPLATFORM" = "linux/386" ]; then \
        TARGET="i686-unknown-linux-musl"; \
    elif [  "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
        TARGET="armv7-unknown-linux-musleabihf"; \
    fi && \
    wget https://github.com/${REPO}/releases/download/${VER}/proxymore-${VER}-${TARGET}.tar.gz && \
    tar -xf proxymore-${VER}-${TARGET}.tar.gz && \
    mv proxymore /bin/

FROM scratch
COPY --from=builder /bin/proxymore /bin/proxymore
VOLUME /.proxymore
STOPSIGNAL SIGINT
ENTRYPOINT ["/bin/proxymore"]