mirror of
https://gitlab.com/alliedmaldives/ops/podmanbuilder.git
synced 2025-02-22 09:32:03 +00:00
podman
This commit is contained in:
parent
168ccdd3e8
commit
3518990c29
@ -23,41 +23,41 @@ apt install -y \
|
||||
make \
|
||||
pkg-config \
|
||||
runc \
|
||||
uidmap \
|
||||
vim
|
||||
uidmap
|
||||
|
||||
apt install --no-install-recommends -y libapparmor-dev libsystemd-dev wget curl make ca-certificates
|
||||
|
||||
wget https://storage.googleapis.com/golang/getgo/installer_linux
|
||||
chmod +x ./installer_linux
|
||||
./installer_linux
|
||||
source ~/.bash_profile
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
PATH=$PATH:$HOME/.go/bin
|
||||
export PATH
|
||||
#source ~/.bash_profile
|
||||
|
||||
# make conmon
|
||||
git clone https://github.com/containers/conmon
|
||||
cd conmon
|
||||
export GOCACHE="$(mktemp -d)"
|
||||
make
|
||||
cp -vr ./bin ~/build/
|
||||
cd ~
|
||||
|
||||
# make runc
|
||||
git clone https://github.com/opencontainers/runc.git $GOPATH/src/github.com/opencontainers/runc
|
||||
cd $GOPATH/src/github.com/opencontainers/runc
|
||||
make BUILDTAGS="selinux seccomp"
|
||||
cp -v runc ~/build/
|
||||
cp ~
|
||||
|
||||
# make podman
|
||||
PODMAN_VERSION=$(curl -s https://api.github.com/repos/containers/podman/releases/latest|grep tag_name|cut -d '"' -f 4)
|
||||
git clone https://github.com/containers/podman.git podman-$PODMAN_VERSION
|
||||
cd podman-$PODMAN_VERSION
|
||||
git checkout tags/$PODMAN_VERSION
|
||||
|
||||
make ENABLE_BUILDTAGS="systemd" binaries
|
||||
cp -vr ./bin ~/build/
|
||||
cd ~
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user