添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
# install golang wget https://go.dev/dl/go1.22.0.linux-amd64.tar.gz rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.0.linux-amd64.tar.gz export PATH=$PATH:/usr/local/go/bin export GOPATH=~/go go version # install dependencies for building runc apt update apt install -y build-essential libseccomp-dev # compile and install runc cd $GOPATH mkdir -pv src/github.com/opencontainers cd src/github.com/opencontainers git clone https://github.com/opencontainers/runc cd runc git checkout v1.0.0-rc10 export GO111MODULE=auto sudo make install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# install golang
wget https : //go.dev/dl/go1.22.0.linux-amd64.tar.gz
rm - rf / usr / local / go && tar - C / usr / local - xzf go1 . 22.0.linux - amd64 . tar . gz
export PATH = $ PATH : / usr / local / go / bin
export GOPATH = ~ / go
go version
# install dependencies for building runc
apt update
apt install - y build - essential libseccomp - dev
# compile and install runc
cd $ GOPATH
mkdir - pv src / github . com / opencontainers
cd src / github . com / opencontainers
git clone https : //github.com/opencontainers/runc
cd runc
git checkout v1 . 0.0 - rc10
export GO111MODULE = auto
make
sudo make install