Saturday, November 14, 2020

Script s2i

 mkdir /tmp/s2i/ && cd /tmp/s2i/

curl -s https://api.github.com/repos/openshift/source-to-image/releases/latest \

  | grep browser_download_url \

  | grep linux-amd64 \

  | cut -d '"' -f 4 \

  | wget -qi -


tar xvf source-to-image*.gz

mv s2i /usr/local/bin

rm -rf /tmp/s2i/

No comments: