mirror of
https://github.com/Telecominfraproject/ols-nos.git
synced 2025-10-30 01:32:35 +00:00
Why I did it arm64 bullseye docker image source is set to jessie for VERSION_CODENAME is miss. shil@localhost:~/sonic-buildimage$ docker run -it multiarch/debian-debootstrap:arm64-bullseye bash root@b2e2fea86e2d:/# cat /etc/os-release | grep VERSION_CODENAME | cut -d= -f2 root@b2e2fea86e2d:/# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux bullseye/sid" NAME="Debian GNU/Linux" ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" How I did it if DISTRO is NULL, find it in /etc/apt/sources.list root@b2e2fea86e2d:/# cat /etc/apt/sources.list | grep deb.debian.org | awk '{print $3}' bullseye root@b2e2fea86e2d:/# cat /etc/apt/sources.list deb http://deb.debian.org/debian bullseye main root@b2e2fea86e2d:/#