buildah

安装

编译安装

安装依赖

yum -y install \
    make \
    gcc \
    golang \
    bats \
    btrfs-progs-devel \
    device-mapper-devel \
    glib2-devel \
    gpgme-devel \
    libassuan-devel \
    libseccomp-devel \
    git \
    bzip2 \
    go-md2man \
    runc \
    skopeo-containers
mkdir ~/buildah
cd ~/buildah
export GOPATH=`pwd`
git clone https://github.com/containers/buildah ./src/github.com/containers/buildah
cd ./src/github.com/containers/buildah
make
sudo make install
buildah --help

安装binary

下载解压

tar zxvf buildah-release-1.21-linux-amd64.tar.gz
cp buildah-release-1.21-linux-amd64/bin/buildah /usr/bin
Copyright © weiliang 2021 all right reserved,powered by Gitbook本书发布时间: 2024-04-22 16:03:42

results matching ""

    No results matching ""