diff --git a/Dockerfile b/Dockerfile index d6ca8d99e..fc7d61537 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/binary_dependencies/jwtproxy b/binary_dependencies/jwtproxy deleted file mode 100755 index 8d479b09e..000000000 Binary files a/binary_dependencies/jwtproxy and /dev/null differ diff --git a/conf/jwtproxy_conf.yaml.jnj b/conf/jwtproxy_conf.yaml.jnj index bff939ec5..e1cbd7136 100644 --- a/conf/jwtproxy_conf.yaml.jnj +++ b/conf/jwtproxy_conf.yaml.jnj @@ -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