Created
March 26, 2019 21:29
-
-
Save Rohithzr/f66f9cde5d401175246a6ec4efa075d4 to your computer and use it in GitHub Desktop.
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
FROM alpine | |
RUN apk add -U curl privoxy jq && \ | |
mv /etc/privoxy/templates /etc/privoxy-templates && \ | |
rm -rf /var/cache/apk/* /etc/privoxy/* && \ | |
mv /etc/privoxy-templates /etc/privoxy/templates | |
ADD --chown=privoxy:privoxy config \ | |
/etc/privoxy/ | |
ADD --chown=privoxy:privoxy k8s-only.action \ | |
/etc/privoxy/ | |
ADD --chown=privoxy:privoxy k8s-rewrite-external.filter \ | |
/etc/privoxy/ | |
ADD k8s-api-proxy.sh / | |
EXPOSE 8118/tcp | |
ENTRYPOINT ["./k8s-api-proxy.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment