Skip to content

Commit

Permalink
[Docs] update youki build instructions (#232)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
hegerdes authored Jun 9, 2024
1 parent 743be71 commit 2f6bf43
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions docs/develop/deploy/oci-runtime/youki.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,29 @@ youki is an OCI container runtime written in Rust. youki has WasmEdge baked in.
Run the following command line to build and install youki on your machine.

```bash
$ sudo apt-get install \
pkg-config \
libsystemd-dev \
libdbus-glib-1-dev \
build-essential \
libelf-dev \
libseccomp-dev \
libclang-dev
$ sudo apt-get install \
curl \
git \
pkg-config \
libsystemd-dev \
libdbus-glib-1-dev \
build-essential \
libelf-dev \
libzstd-dev \
libseccomp-dev \
libclang-dev

# If you don't have the rust toolchain installed run:
$ curl https://sh.rustup.rs -sSf | sudo sh -s -- -y
```

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

```bash
git clone https://github.com/containers/youki.git
go into the cloned directory
git clone --recurse-submodules https://github.com/containers/youki.git
cd youki
make youki-dev
./youki -h
./scripts/build.sh -o . -r -f wasm-wasmedge
./youki -h
export LD_LIBRARY_PATH=$HOME/.wasmedge/lib
```

Expand Down

0 comments on commit 2f6bf43

Please sign in to comment.