Last active
November 4, 2024 05:20
-
-
Save orimanabu/4c54ee3508c675c9ad25688f1e8c611b to your computer and use it in GitHub Desktop.
Compile Podman on RISC-V Debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -xe | |
# sudo apt install cargo protobuf-compiler protobuf-codegen | |
workdir=./work | |
mkdir -p ${workdir} | |
pushd ${workdir} | |
git clone https://github.com/containers/podman.git | |
git clone https://github.com/containers/conmon.git | |
git clone https://gitlab.freedesktop.org/slirp/libslirp.git | |
git clone https://github.com/rootless-containers/slirp4netns.git | |
git clone https://github.com/containers/crun.git | |
git clone https://github.com/containers/netavark.git | |
git clone https://github.com/containers/aardvark-dns.git | |
git clone https://passt.top/passt | |
pushd passt | |
make | |
sudo make install | |
popd | |
pushd crun | |
./autogen.sh | |
./configure --prefix=/usr/local | |
make -j | |
sudo make install | |
popd | |
pushd aardvark-dns | |
make | |
sudo make install | |
popd | |
pushd netavark | |
make | |
sudo make install | |
popd | |
pushd conmon | |
sudo apt-get install \ | |
gcc \ | |
git \ | |
libc6-dev \ | |
libglib2.0-dev \ | |
libseccomp-dev \ | |
pkg-config \ | |
make \ | |
runc | |
make | |
sudo make install | |
popd | |
pushd podman | |
make | |
sudo make install | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment