github.com/Myriad-Dreamin/tarus@v0.0.0-20220422082640-5379b6998284/deployment/runsc/install.sh (about)

     1  
     2  set -e
     3  ARCH=$(uname -m)
     4  URL=https://storage.googleapis.com/gvisor/releases/release/latest/${ARCH}
     5  wget ${URL}/runsc ${URL}/runsc.sha512 \
     6    ${URL}/containerd-shim-runsc-v1 ${URL}/containerd-shim-runsc-v1.sha512
     7  sha512sum -c runsc.sha512 \
     8    -c containerd-shim-runsc-v1.sha512
     9  rm -f *.sha512
    10  chmod a+rx runsc containerd-shim-runsc-v1
    11  sudo mv runsc containerd-shim-runsc-v1 /usr/local/bin