From cadffd89a2fdeca58c6f50c2498c57ee98e70915 Mon Sep 17 00:00:00 2001 From: David C Wang Date: Fri, 1 May 2020 09:57:39 -0700 Subject: [PATCH] Install jwt-cli * The binary name is 'jwt' --- files/provision.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/provision.sh b/files/provision.sh index 9a257c3..1c7b800 100755 --- a/files/provision.sh +++ b/files/provision.sh @@ -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 && \