Use jwtproxy binary from github

This commit is contained in:
Evan Cordell 2016-04-28 16:20:32 -05:00 committed by Jimmy Zelinskie
parent d2aa4be29e
commit 97ad9684d7
3 changed files with 6 additions and 2 deletions

View file

@ -34,6 +34,10 @@ RUN curl -O https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz && \
sudo cp /gocode/bin/cfssl /bin/cfssl && \
sudo rm -rf /gocode && sudo rm -rf /usr/local/go
# Install jwtproxy
RUN curl -L -o binary_dependencies/jwtproxy https://github.com/coreos/jwtproxy/releases/download/v0.0.1/jwtproxy-linux-x64 && \
chmod +x binary_dependencies/jwtproxy
# Install Grunt
RUN ln -s /usr/bin/nodejs /usr/bin/node
RUN npm install -g grunt-cli

Binary file not shown.

View file

@ -14,8 +14,8 @@ jwtproxy:
options:
key_id: {{ key_id }}
private_key_path: /conf/quay.pem
verifier_proxy:
enabled: true
verifier_proxies:
- enabled: true
listen_addr: unix:/tmp/jwtproxy_secscan.sock
verifier:
upstream: unix:/tmp/gunicorn_web.sock