Use jwtproxy binary from github
This commit is contained in:
parent
d2aa4be29e
commit
97ad9684d7
3 changed files with 6 additions and 2 deletions
|
@ -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 cp /gocode/bin/cfssl /bin/cfssl && \
|
||||||
sudo rm -rf /gocode && sudo rm -rf /usr/local/go
|
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
|
# Install Grunt
|
||||||
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
||||||
RUN npm install -g grunt-cli
|
RUN npm install -g grunt-cli
|
||||||
|
|
Binary file not shown.
|
@ -14,8 +14,8 @@ jwtproxy:
|
||||||
options:
|
options:
|
||||||
key_id: {{ key_id }}
|
key_id: {{ key_id }}
|
||||||
private_key_path: /conf/quay.pem
|
private_key_path: /conf/quay.pem
|
||||||
verifier_proxy:
|
verifier_proxies:
|
||||||
enabled: true
|
- enabled: true
|
||||||
listen_addr: unix:/tmp/jwtproxy_secscan.sock
|
listen_addr: unix:/tmp/jwtproxy_secscan.sock
|
||||||
verifier:
|
verifier:
|
||||||
upstream: unix:/tmp/gunicorn_web.sock
|
upstream: unix:/tmp/gunicorn_web.sock
|
||||||
|
|
Reference in a new issue