-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from crankycoder/perpetua
Updated the gvisor installation
- Loading branch information
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
curl -fsSL https://gvisor.dev/archive.key | sudo apt-key add - | ||
sudo add-apt-repository "deb https://storage.googleapis.com/gvisor/releases release main" | ||
sudo apt-get update && sudo apt-get install -y runsc | ||
sudo runsc install | ||
ARCH=$(uname -m) | ||
URL=https://storage.googleapis.com/gvisor/releases/release/latest/${ARCH} | ||
wget ${URL}/runsc ${URL}/runsc.sha512 ${URL}/containerd-shim-runsc-v1 ${URL}/containerd-shim-runsc-v1.sha512 | ||
sha512sum -c runsc.sha512 -c containerd-shim-runsc-v1.sha512 | ||
rm -f *.sha512 | ||
chmod a+rx runsc containerd-shim-runsc-v1 | ||
sudo mv runsc containerd-shim-runsc-v1 /usr/local/bin |
Empty file.