Skip to content

Commit

Permalink
Install jwt-cli
Browse files Browse the repository at this point in the history
* The binary name is 'jwt'
  • Loading branch information
dcwangmit01 authored and hangxie committed May 1, 2020
1 parent 392949a commit cadffd8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions files/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,11 @@ function layer_build_apps_not_provided_by_os_packages() {
--with-compress-install && \
make && make install && cd .. && rm -fr emacs-*

echo "Install jwt-cli." && \
curl https://sh.rustup.rs -sSf | sh -s -- -y && source ~/.cargo/env && \
git clone https://github.com/mike-engel/jwt-cli /tmp/jwt-cli && cd /tmp/jwt-cli && git checkout 3.1.0 && \
cargo update && cargo build --release && mv target/release/jwt /usr/local/bin

echo "Install pyenv with dependencies." && \
curl -sSfLo pyenv-installer https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer && \
chmod a+x pyenv-installer && mv pyenv-installer /usr/local/bin && \
Expand Down

0 comments on commit cadffd8

Please sign in to comment.