From 1354c029b1e287d4e3b9115d2121928e74e949b0 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Fri, 26 May 2023 10:03:35 +0000 Subject: [PATCH] feat: add gcc 4.6,4.8 to debian wheezy container --- distro/debian/debian.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distro/debian/debian.go b/distro/debian/debian.go index 002fa0f..66265d1 100644 --- a/distro/debian/debian.go +++ b/distro/debian/debian.go @@ -298,8 +298,6 @@ func (d Debian) runs() (commands []string) { "|| apt-get install -y %s", packages, packages, packages) if d.release == 7 { - cmdf("apt-get -y install gcc-4.9-backport") - // by default Debian backports repositories have a lower // priority than stable, so we should specify it manually cmdf("apt-get -y install -t %s-backports "+ @@ -319,6 +317,8 @@ func (d Debian) runs() (commands []string) { cmdf("apt-get -y update") cmdf("apt-get -y install -t jessie libc6") + + cmdf("apt-get -y install gcc-4.6 gcc-4.8 gcc-4.9-backport") } cmdf("mkdir -p /lib/modules")