diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a0e8a64f..74b36923f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,9 @@ jobs: ~/.cargo/git target key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + - name: Install libcontainer dependencies + run: | + sudo apt install libseccomp-dev - name: Setup WasmEdge build env run: | curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- --version=0.11.2 diff --git a/crates/containerd-shim-wasm/Cargo.toml b/crates/containerd-shim-wasm/Cargo.toml index 9e18c8d71..0bdcaa2fb 100644 --- a/crates/containerd-shim-wasm/Cargo.toml +++ b/crates/containerd-shim-wasm/Cargo.toml @@ -25,7 +25,7 @@ libc = { workspace = true } caps = "0.1" proc-mounts = "0.3" thirdparty = { path = "../thirdparty" } -libcontainer = "0.0.4" +libcontainer = { git = "https://github.com/ipuustin/youki", branch = "public-device-functions", default-features = false, features = ["v1", "v2"] } [build-dependencies] ttrpc-codegen = { version = "0.3", optional = true }