From b626f6976722a8408a0e9cd7866bb9fde42aae4f Mon Sep 17 00:00:00 2001 From: Nicholas Dille Date: Tue, 14 Jan 2025 09:30:43 +0100 Subject: [PATCH] wasmedge does not like static linking --- tools/containerd-shim-wasmedge/Dockerfile.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/containerd-shim-wasmedge/Dockerfile.template b/tools/containerd-shim-wasmedge/Dockerfile.template index 8417f27c3b..905c7bc938 100644 --- a/tools/containerd-shim-wasmedge/Dockerfile.template +++ b/tools/containerd-shim-wasmedge/Dockerfile.template @@ -32,7 +32,7 @@ git clone -q --config advice.detachedHead=false --depth 1 --branch "containerd-s export CARGO_HOME=/usr/local/cargo export CARGO_TARGET_DIR=/target/ export RUSTUP_HOME=/usr/local/rustup -export RUSTFLAGS='-C target-feature=+crt-static' +#export RUSTFLAGS='-C target-feature=+crt-static' make -j$(nproc) build-wasmedge TARGET_DIR="${CARGO_TARGET_DIR}" make install-wasmedge PREFIX="${prefix}" TARGET_DIR="${CARGO_TARGET_DIR}" EOF \ No newline at end of file