Install jwtproxy in /usr/local/bin
This commit is contained in:
parent
97ad9684d7
commit
9df650688b
2 changed files with 3 additions and 3 deletions
|
@ -35,8 +35,8 @@ RUN curl -O https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz && \
|
|||
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
|
||||
ADD https://github.com/coreos/jwtproxy/releases/download/v0.0.1/jwtproxy-linux-x64 /usr/local/bin/jwtproxy
|
||||
RUN chmod +x /usr/local/bin/jwtproxy
|
||||
|
||||
# Install Grunt
|
||||
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
echo 'Starting jwtproxy'
|
||||
|
||||
cd /
|
||||
/binary_dependencies/jwtproxy --config conf/jwtproxy_conf.yaml
|
||||
/usr/local/bin/jwtproxy --config conf/jwtproxy_conf.yaml
|
||||
rm /tmp/jwtproxy_secscan.sock
|
||||
|
||||
echo 'Jwtproxy exited'
|
||||
|
|
Reference in a new issue