Skip to content

Commit

Permalink
build: add libseccomp-dev to deps and use local youki branch.
Browse files Browse the repository at this point in the history
The local youki branch is needed, because the device setup interface has
to be public for us to use it.

Signed-off-by: Ismo Puustinen <[email protected]>
  • Loading branch information
ipuustin committed Feb 15, 2023
1 parent a0238b3 commit f68fc87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/containerd-shim-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit f68fc87

Please sign in to comment.