mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Vagrantfile.fedora: upgrade Fedora to 36
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
+2
-7
@@ -3,7 +3,7 @@
|
||||
|
||||
Vagrant.configure("2") do |config|
|
||||
# Fedora box is used for testing cgroup v2 support
|
||||
config.vm.box = "fedora/35-cloud-base"
|
||||
config.vm.box = "fedora/36-cloud-base"
|
||||
config.vm.provider :virtualbox do |v|
|
||||
v.memory = 2048
|
||||
v.cpus = 2
|
||||
@@ -23,7 +23,7 @@ Vagrant.configure("2") do |config|
|
||||
cat << EOF | dnf -y --exclude=kernel,kernel-core shell && break
|
||||
config install_weak_deps false
|
||||
update
|
||||
install iptables gcc make glibc-static libseccomp-devel bats jq git-core criu fuse-sshfs
|
||||
install iptables gcc golang-go make glibc-static libseccomp-devel bats jq git-core criu fuse-sshfs
|
||||
ts run
|
||||
EOF
|
||||
done
|
||||
@@ -32,11 +32,6 @@ EOF
|
||||
# Prevent the "fatal: unsafe repository" git complain during build.
|
||||
git config --global --add safe.directory /vagrant
|
||||
|
||||
# Install golang.
|
||||
# FIXME go back to golang-go rpm once switched to Fedora 36.
|
||||
curl -fsSL https://go.dev/dl/go1.18.linux-amd64.tar.gz | tar Cxz /usr/local
|
||||
echo 'export PATH=/usr/local/go/bin:$PATH' >> /etc/profile.d/golang.sh
|
||||
|
||||
# Add a user for rootless tests
|
||||
useradd -u2000 -m -d/home/rootless -s/bin/bash rootless
|
||||
|
||||
|
||||
Reference in New Issue
Block a user