Vagrantfile: install less packages
1. Disable updating the kernel (we're not going to reboot into it anyway) 2. Disable weak dependencies (that includes git, svn and a ton of perl modules). 3. Add git-core to list of packages since it is used from Makefile. Before: default: Transaction Summary default: ================================================================================ default: Install 123 Packages default: Upgrade 63 Packages default: Total size: 326 M default: Total download size: 326 M After: default: Transaction Summary default: ================================================================================ default: Install 53 Packages default: Upgrade 63 Packages default: Total size: 181 M default: Total download size: 180 M Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
parent
e9e31f70fe
commit
d2061ee5f1
|
@ -15,9 +15,11 @@ Vagrant.configure("2") do |config|
|
|||
config.vm.provision "shell", inline: <<-SHELL
|
||||
curl -OSs https://kojipkgs.fedoraproject.org/packages/criu/3.14/1.fc32/x86_64/criu-3.14-1.fc32.x86_64.rpm
|
||||
cat << EOF | dnf -y shell
|
||||
config exclude kernel,kernel-core
|
||||
config install_weak_deps false
|
||||
localinstall criu-3.14-1.fc32.x86_64.rpm
|
||||
update
|
||||
install iptables gcc make golang-go libseccomp-devel bats jq
|
||||
install iptables gcc make golang-go libseccomp-devel bats jq git-core
|
||||
ts run
|
||||
EOF
|
||||
dnf clean all
|
||||
|
|
Loading…
Reference in New Issue