From 3d70591717ab7df8691726e4da2d15fe02d4e7e1 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sat, 27 May 2023 18:45:17 +0000 Subject: [PATCH] feat: use libc from jessie on wheezy --- distro/debian/debian.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/distro/debian/debian.go b/distro/debian/debian.go index d61fa1c..033fc58 100644 --- a/distro/debian/debian.go +++ b/distro/debian/debian.go @@ -314,6 +314,9 @@ func (d Debian) runs() (commands []string) { cmdf("echo 'Pin-Priority: 10' >> /etc/apt/preferences.d/jessie") cmdf("apt-get -y update") + + // glibc guarantee backwards compatibility, so should be no problem + cmdf("apt-get -y install -t jessie libc6-dev") } if d.release == 12 {