sudo dnf install -y make python git gcc automake autoconf libcap-devel systemd-devel yajl-devel libseccomp-devel pkg-config libgcrypt-devel go-md2man glibc-static python3-libmount libtool
mkdir code
cd code/
git clone https://github.com/containers/crun.git
cd crun/
./autogen.sh
./configure
make
sudo dnf install podman
podman
which crun
sudo mv /usr/bin/crun /usr/bin/curn.backup
sudo mv crun /usr/bin/
which crun
crun --version
/usr/bin/curn.backup --version
vim Dockerfile
sudo dnf search wasiedge
sudo dnf search wasmedge
cargo build --release --target wasm32-wasi
buildah build --annotation "module.wasm.image/variant=compat" -t mywasm-image
podman run mywasm-image:latest
podman run mywasm-image:latest -e LIFE="GOOD"
podman run -env LIFE="GOOD" mywasm-image:latest
podman run
podman run -e LIFE="GOOD" mywasm-image:latest
Created
December 17, 2022 18:22
-
-
Save No9/d414c506102a2c4a9e62dc869aa6c28a to your computer and use it in GitHub Desktop.
Notes on building wasi edge container
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment