Skip to content

Commit bf09d70

Browse files
committed
update install instructions
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
1 parent 03c2267 commit bf09d70

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,20 @@ NOTE: These steps work only for Linux. Compile and run in a container (explained
6868

6969
- **linux** [amd64](https://github.com/genuinetools/img/releases/download/v0.3.4/img-linux-amd64)
7070

71+
```console
72+
# Install latest img binary
73+
$ sudo curl -L https://github.com/genuinetools/img/releases/download/v0.3.4/img-linux-amd64 -o /usr/local/bin/img
74+
# Verify the sha256sum
75+
$ export SHASUM=$(curl -L https://github.com/genuinetools/img/releases/download/v0.3.4/img-linux-amd64.sha256)
76+
$ if [ "$SHASUM" != "$(shasum -a 256 /usr/local/bin/img | awk '{ print $1 }')" ]; then echo "sha256sum mismatch!"; exit 1; fi
77+
$ sudo chmod a+x /usr/local/bin/img
78+
$ echo "img installed!"
79+
80+
# Install runc with patches
81+
$ sudo curl -L https://misc.j3ss.co/tmp/runc -o /usr/local/bin/runc
82+
$ sudo chmod a+x /usr/local/bin/runc
83+
```
84+
7185
#### Via Go
7286

7387
```bash

0 commit comments

Comments
 (0)