Skip to content

Commit 2f6bf43

Browse files
authored
[Docs] update youki build instructions (#232)
Youki changed its build system form make to just. Both are not really needed to build youki with wasm since you can just run the build script. Updated the instructions and added missing apt packages for wasm like `libzstd-dev`, `curl` and `git` Signed-off-by: Henrik Gerdes <[email protected]>
1 parent 743be71 commit 2f6bf43

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

docs/develop/deploy/oci-runtime/youki.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,29 @@ youki is an OCI container runtime written in Rust. youki has WasmEdge baked in.
1515
Run the following command line to build and install youki on your machine.
1616

1717
```bash
18-
$ sudo apt-get install \
19-
pkg-config \
20-
libsystemd-dev \
21-
libdbus-glib-1-dev \
22-
build-essential \
23-
libelf-dev \
24-
libseccomp-dev \
25-
libclang-dev
18+
$ sudo apt-get install \
19+
curl \
20+
git \
21+
pkg-config \
22+
libsystemd-dev \
23+
libdbus-glib-1-dev \
24+
build-essential \
25+
libelf-dev \
26+
libzstd-dev \
27+
libseccomp-dev \
28+
libclang-dev
29+
30+
# If you don't have the rust toolchain installed run:
31+
$ curl https://sh.rustup.rs -sSf | sudo sh -s -- -y
2632
```
2733

2834
Next, configure, build, and install a `youki` binary with WasmEdge support.
2935

3036
```bash
31-
git clone https://github.com/containers/youki.git
32-
go into the cloned directory
37+
git clone --recurse-submodules https://github.com/containers/youki.git
3338
cd youki
34-
make youki-dev
35-
./youki -h
3639
./scripts/build.sh -o . -r -f wasm-wasmedge
40+
./youki -h
3741
export LD_LIBRARY_PATH=$HOME/.wasmedge/lib
3842
```
3943

0 commit comments

Comments
 (0)